Question: JAVA I want a code TO Design a class to represent a credit card. Think about the attributes of a credit card; that is, what
JAVA
I want a code TO
Design a class to represent a credit card. Think about the attributes of a credit card; that is, what data is on the card? What behaviors might be reasonable for a credit card?. Then give three examples of instances of this class.

enumeration>> Coin 1 1.1 Country:India Coinname Rupee Coinvalue:5 CollectionOfCoins -int coinvalue -string country -string coinname enumeration>> coin2 1 ..1 Country:Europ Coinname Euro Coinvalue2 O+void getvalue0 O+void convert0 enumeration>> Coin3 Country:India Coinvalue:20 Coinname Rupee
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
