Question: Write a Java program based on Fig.3.5 and add two new instance variables String Address and int Age. Add corresponding set and get methods and
Write a Java program based on Fig.3.5 and add two new instance variables String Address and int Age. Add corresponding set and get methods and also update the constructor method accordingly.
in Fig.3.6. create three objects from Account class and manipulate their values.
Draw a UML diagram and add it to your report. In your report, remember to include some explanations and screenshots.


Fig. 3.5 I Account class with a constructor that initializes the name. Fig. 3.6 I Using the Account constructor to initialize the name instance variable at the time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
