Implement A Class Course For Managing The Registration Of Student For The Class: Introduction To Programming Using Java Assignment, NUS, Singapore
|University||National University of Singapore (NUS)|
|Subject||Introduction to Programming Using Java Assignment|
Implement a class Course for managing the registration of student for the class.
You need to implement the following sets of 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).
– 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.
You are supposed to write Java program for the following questions. For every question, do provide at least THREE (3) different test cases.