Question: Java Program. Need Input and Output CS103 Fall 2018 Homework 0S Due date: 11:20 am, November 13, 2018 Instructor. Truong Tran A simple school management
CS103 Fall 2018 Homework 0S Due date: 11:20 am, November 13, 2018 Instructor. Truong Tran A simple school management system using object-oriented model. Create a project name Hw05 Create 5 classes of Person, Student, Employee, Faculty, and Staff with the following data (see page 2 for more detail) - The Person class has two subclasses: Student and Employee - The Employee class has two subclasses: Faculty and Staff - A person has two String type data: a name and an address. - A student has a String type status of 4 possible values: freshman, sophomore, junior, or senior. - An employee has an office's name (String), and date hired by year (integer). - A faculty member has office hours (String) and a rank of 3 possible values: Lecturer, Assistant Professor, Assosicate Professor, or Professor (String). - A staff member has a title (String) as a staff assistant or IT manager. For each class, implement all data, constructors, and methods as shown in the diagram on page 2. Override the toString0 method in each class to display the object information. Create a test class name TestSchoolManagement by using the code on page 3. The TestSchoolManagement class has a main method to: Creates a Person, Student, Employee, Faculty, and Staff object. Test their methods Print out each object information through each object toString0 method. - - Run the TestSchoolManagement program. Create a pdf file, that contains your code(s), and a screenshot of the running program with the output. Submit your work to Canvas on time. Page 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
