question 1
Write a Class called Course containing the following attributes and behaviors:
Encapsulated data:
CourseID, StudentsList, capacity
Data are accessible, changeable, comparable
Data can be processed in the following ways
Check if a Course is full
Output students' names ordered by last name
Write client to test the class
question2
Write a Class called Team containing the following attributes and behaviors:
Encapsulated data:
teamName, members, coach, gameRecord
Data are accessible, changeable, comparable
Data can be processed in following ways
Check if a person in the team
Check the performance based on gameRecord
Write client to test the class