Question: Develop and design a class to process course information. Each course has a name and has students enrolled. A student can be added / dropped

Develop and design a class to process course information. Each course has a name and has
students enrolled.
A student can be added/dropped to/from the course. The Course class uses an array to store
the students of the course. For simplicity, the maximum course enrolment is 100.
The addStudent method adds a student to the array. Whenever a new student is added to the
course, numberOfStudents is increased.
The getStudents method returns the list of the students
Then creates two courses and adds students to them

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!