Question: JAVA Personal Information Class Design a class that hold the personal data: name, address, age and phone number. Write appropriate methods (constructor, getters ad setters.
JAVA
Personal Information Class
Design a class that hold the personal data: name, address, age and phone number. Write appropriate methods (constructor, getters ad setters. Demonstrate the class by writing a program that creates three instances of the class. You can populate information in each object using Scanner class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
