Question: Plz Use (NetBeans IDE) program ] B1. Given the following classes, answer the below questions. 1. Person (abstract class) that has the following: Date Fields
] B1. Given the following classes, answer the below questions. 1. Person (abstract class) that has the following: Date Fields private String name, private String address Constructor: Constructor to create a Person object with specified name and address Methods: Accessor and multor methods for all datafields 2 Student (extend the class Person that has the following: Constructor Constructor to create a Student object with specified rame, address, ID & Methods: Acossor and mutator methods for all data fields 3. Director extend the class Person that has the following Constructor: Constructor to create a Director object with speed rame, address, and salary. Methods: Access and multor methods for salary data til 4 Graduate Student (extend the class Student that has the following Constructor Constructor to create a Graduate Student object salti specified name address, ID and grade Methods: - Design UML diagram for the above classes. Write the code only for class Person and Class Student
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
