Introduction to Programming Using Java Assignment, NUS, Singapore: Implement a class Course for managing the registration of students for the class
Implement a class Course for managing the registration of students for the class.
You need to implement the following sets of methods for managing the registration of the student. (50 marks)
– The name of the course.
– The students who take the course.
– The number of students (default: 0).
– Create 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.
You are supposed to write a Java program for the following questions. For every question, do provide at least THREE (3) different test cases.