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.

Develop a console application that contains all the following classes. Each of

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:List +Person(id:int, name:string +Student(id:int, name:string, major:string) +University(name:string) +GetName().string +AddCourse(course:Course):void +AddPerson(person:Person) void +Getid:int +GetCourses():List +GetPeople():List A +GetMajor():string +GetNumPeople():int +AddCourse(course:Course):void +GetNumCourses():int +GetCourses(:List Course instructor +GetName():string -name:string -course: Course +FindPerson(id:int):Person +RemovePerson(id:int):boolean -number:int +Instructor(id:int, name:string) 1 +Course(number:int, name:string) +SetCourse(course:Course):void +GetName:string +GetCourse:Course +GetNumber(int

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!