Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started