Question: (use java program) (Person, Student, Employee, Faculty and Staff classes) 1) Design a class named Person which has a name, address, phone_number and email_address with the toString() method....

Question: (use java program) (Person, Student, Employee, Faculty and Staff classes) 1) Design a class named Person which has a name, address, phone_number and email_address with the toString() method. 2) Create 2 sub-classes from Person called Student and Employee 3) Student has class status (which is constant) - Fresh-man or junior or Senior. 4) Employee has an office_location and Salary 5) Create 2 sub-classes from Employee called Faculty and Staff. 6) Faculty has office_hours and rank 7) Staff has title Overirde the toString() method in each class to display the class name and Person's name. Hint:Person<br>-Extends<br>Extends<br>Student<br>Employee<br>Extends<br>Extends<br>Faculty<br>Staff<br>

Extracted text: Person -Extends Extends Student Employee Extends Extends Faculty Staff

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here