Question: 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
Step by Step Solution
3.40 Rating (159 Votes )
There are 3 Steps involved in it
import javautilScanner class PersonalData private String name private String address private int age private String phoneNumber Constructor public Per... View full answer
Get step-by-step solutions from verified subject matter experts
