Personal Information Program Using Python 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.   NOTE: 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 NOTE 1: The input data do not need to be real data. NOTE 2: they need to be entered at the keyboard, when program is run. Processing:  Develop the following: Personal Information Class A program that creates three instances of the above class Output Data: Set up a loop and display data within each object: name, address, age, and phone number

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 12PE
icon
Related questions
Question

Personal Information Program

Using Python 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.   NOTE: 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

NOTE 1: The input data do not need to be real data.

NOTE 2: they need to be entered at the keyboard, when program is run.

Processing:  Develop the following:

  • Personal Information Class
  • A program that creates three instances of the above class

Output Data:

Set up a loop and display data within each object:

  • name, address, age, and phone number
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT