Referring to the UML class diagram given above, write codes in the main application that will do the ff: a. create an ATMCard object named "card" with the hard-coded values given below. Card Number: 123456789 Card Owner: Tomas Mapua Account Balance: 1234567.89 Currency : Philippine Peso b. deposit the amount of 5000 pesos and then perform a balance inquiry. NOTE: No need to write all the codes for Test class. JAVA LANGUAGE
OOPs
In today's technology-driven world, computer programming skills are in high demand. The object-oriented programming (OOP) approach is very much useful while designing and maintaining software programs. Object-oriented programming (OOP) is a basic programming paradigm that almost every developer has used at some stage in their career.
Constructor
The easiest way to think of a constructor in object-oriented programming (OOP) languages is:
Referring to the UML class diagram given above, write codes in the main application that will do the ff:
a. create an ATMCard object named "card" with the hard-coded values given below.
Card Number: 123456789
Card Owner: Tomas Mapua
Account Balance: 1234567.89
Currency : Philippine Peso
b. deposit the amount of 5000 pesos and then perform a balance inquiry.
NOTE: No need to write all the codes for Test class.
JAVA LANGUAGE


Step by step
Solved in 5 steps with 2 images









