Page 1 of 1

This is for Java coding The Person, Student, Employee, Faculty, and Staff Classes Design a class named Person and its tw

Posted: Thu May 05, 2022 1:00 pm
by answerhappygod
This is for Java coding
The Person, Student, Employee, Faculty, and Staff Classes
Design a class named Person and its two subclasses named Student and Employee.
Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and e-mail address.
A student has a class status (freshman, sophomore, junior, or senior). Define the status as a constant.
An employee has an office, salary, and date hired.
A faculty member has office hours and a rank. A staff member has a title. Override the toString method in each class to display the class name and the person’s name.
In the Person class use this to define the dateHired instance variable
private java.util.Calendar dateHired;
This Is For Java Coding The Person Student Employee Faculty And Staff Classes Design A Class Named Person And Its Tw 1
This Is For Java Coding The Person Student Employee Faculty And Staff Classes Design A Class Named Person And Its Tw 1 (22.17 KiB) Viewed 23 times
And this is given for starter:
This Is For Java Coding The Person Student Employee Faculty And Staff Classes Design A Class Named Person And Its Tw 2
This Is For Java Coding The Person Student Employee Faculty And Staff Classes Design A Class Named Person And Its Tw 2 (71.91 KiB) Viewed 23 times
I need this done immediately please. In java language.
A tester is included that must output: Person: Peter Student: Susan Employee: Eva Faculty: Frank Staff: Shane
Tester.java X 1 2 3 public class Tester { 40 5 6 7 8 9 10 11 12 13 14 15 16 17 } 19 public static void main(String[] args) { Person person = new Person ("Peter"); Student student = new Student ("Susan"); Employee employee = new Employee ("Eva"); Faculty faculty = new Faculty("Frank"); Staff staff = new Staff("Shane"); System.out.println(person); System.out.println(student); System.out.println(employee); System.out.println(faculty); System.out.println(staff); }