Question: Design a class that holds the following personal data: name, address, age, and phone number. Write appropriate accessor and mutator methods. Demonstrate the class by
Design a class that holds the following personal data: name, address, age, and phone number. Write appropriate accessor and mutator methods. Demonstrate the class by writing a program that creates three instances of it. One instance should hold your information, and the other two should hold your friends’ or family members’ information.
Step by Step Solution
3.42 Rating (149 Votes )
There are 3 Steps involved in it
Program which holds the information about a person Personjava package orgstudents public class Perso... View full answer
Get step-by-step solutions from verified subject matter experts
