10  Lab Friday pm:

Inner classes; Free time

Note: This is a preliminary version of this exercise.

Problem University keeps records for all students and instructors at the university. For each person it records the name and id number. Each instructor also has a title, and is a member of some department (for now, we just know the name of the department). Each student has a major and grade point average (GPA).

Define the class hierarchy to represent students and instructors at the university, as well as a list of all people, all students, and all instructors.

Define the following methods for these classes:

Work on refactoring this code as follows: