Question: Question 3 Implement a class Course for managing the registration of student for the class. table [ [ Course ] , [ - name:
Question
Implement a class Course for managing the registration of student for the class.
tableCoursename: Stringstudents: StringnumberOfStudents: intCoursename: StringgetName: StringaddStudentstudent: String: voidgetStudents: StringUgetNumberOrStudents: int
You need to implement the following sets of of methods for managing the registration of the student. marks
The name of the course.
The students who take the course.
The number of students default:
Creates a Course with the specified name.
Returns the course name.
Adds a new student to the course list.
Returns the students for the course.
Returns the number of students for the course.
Assignment Requirements
You are supposed to write Java program for the following questions. For every question, do provide at least THREE different test cases.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
