Question
Develop a console application that contains all the following classes. Each of the following classes should be fully implemented. Please pay attention to all the
Develop a console application that contains all the following classes. Each of the following classes should be fully implemented. Please pay attention to all the small details given in the class diagram.
In the Tester class (not shown in the class diagram), do the following in the Main method:
1. Add at least 5 students to the University
2. Add at least 2 instructors to the University
3. Add at least 2 courses to the university
4. Print the university name
5. Print the total number of persons in the university
6. Print a list of students in the university showing their id, name, and major
7. Print a list of instructors in the university showing their id, name, and course
8. Print the total number of courses in the university
9. Print a list of courses in the university showing their number and name
10. Find a person by id
11. Remove a person by id
12. Print a list of all people to check if the person was deleted.
University Person Student -people: List=Person> -name:string -courses: List Course> -name:string -id:int -major string -courses:ListStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started