Question: Develop a program, in which you'll design a class that holds the following personal data: name address age phone number As part of the program,

Develop a program, in which you'll design a class that holds the following personal data:
name
address
age
phone number
As part of the program, you'll then create appropriate accessor and mutator methods.
Also, set up three instances of the class. One instance should hold your information, and the other two should hold your friends or family members information. The input data do not need to be real data.
Input Data:
Set up a loop and enter the following input data:
data for the following attributes of 3 instances of the Personal Information Class:
name, address, age, and phone number
The input data does not need to be real data. They need to be entered at the keyboard, when the program is run.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!