Create a java class for Objective: Create a simple university system that manages departments and the courses they offer.
• Classes to Implement:
• Person: Base class with properties like name and age.
• Student: Inherits from Person, adds properties like list of courses.
• Instructor: Inherits from Person, with properties like list of courses.
• Course: Has properties like course _name, course_code, and instructor (aggregation).
• Department: Contains a list of courses offered (aggregation) and a head (Instructor as an aggregated object).
4. Draw the class diagram of this exercise.
5. Implement all classes
6. Implement call class
6.1. Create list of Students and instructors in one array
6.2. Create course java with 4 students.
6.3. Create department with this courses