Question: PLEASE USE JAVA 11:24? LTE Lab05.docx Lab Exercise 05.2 Personnel files You will write a class named Person and two subclasses named Student and Employee.
11:24? LTE Lab05.docx Lab Exercise 05.2 Personnel files You will write a class named Person and two subclasses named Student and Employee. Write classes Faculty and Staffas subclasses of Employee. A Person has a name, address, phone number and email address. A student has a class status (freshman, sophomore, junior or senior). An Employee has an office number, salary and date-hired. A Faculty member has office hours and a rank (assistant-professor, associate- professor, full-professor). A Staff has a title (Ex Director of student services). Creating a Person requires that you supply name, address, phone, email Creating a Student requires that you supply status, name, address, phone, email Creating an Employee requires that you supply office, salary, hireDate status, name, address, phone, email Creating a Faculty requires that you supply hours, rank office, salary, hireDate status, name, address, phone, email Creating a Staff requires that you supply office, salary, hireDate status, name, address, phone, email Override the toString0 method in each class to display the, class name and all attributes. Testing: Files: supplied on blackboard supplied by you Person java Student.java supplied by you Employee java supplied by you Faculty java Staff java supplied by you supplied by you Open With Print
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
