Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To create and test the Department, Person, Student, and Faculty classes do the following: 1. A lot of the previously created Department and Student code

image text in transcribedimage text in transcribed

To create and test the Department, Person, Student, and Faculty classes do the following: 1. A lot of the previously created Department and Student code from A3 will be reused. Create Department and Student objects as you did for A3, except the Student class objects (Person subclass) have inherited characteristies of the Person class. Create the new Faculty objects as a Person subclass and create some Faculty objects Within the program, create and print enough objects of all types to test and demonstrate the class capabilities Probably 2 or 3 Department, 6 Faculty, and 10 students are adequate. 3. Add each of the created students into one of the three Department class objects using the 'addStudent method Likewise add each created faculty into one of the department's using the 'addFaculty'method. Use the printRoster method to display a list of students in that department and faculty. 5. The program should include code to use the above classes and methods and produce an output log to show the creation and testing activities. Enough activities should be executed and displayed to show the capabilities of the various classes To create and test the Department, Person, Student, and Faculty classes do the following: 1. A lot of the previously created Department and Student code from A3 will be reused. Create Department and Student objects as you did for A3, except the Student class objects (Person subclass) have inherited characteristies of the Person class. Create the new Faculty objects as a Person subclass and create some Faculty objects Within the program, create and print enough objects of all types to test and demonstrate the class capabilities Probably 2 or 3 Department, 6 Faculty, and 10 students are adequate. 3. Add each of the created students into one of the three Department class objects using the 'addStudent method Likewise add each created faculty into one of the department's using the 'addFaculty'method. Use the printRoster method to display a list of students in that department and faculty. 5. The program should include code to use the above classes and methods and produce an output log to show the creation and testing activities. Enough activities should be executed and displayed to show the capabilities of the various classes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions