Question: Please comment each line Write another Java class called Course. This represents a class of students. The course should keep track of: - Students registered
Please comment each line

Write another Java class called Course. This represents a class of students. The course should keep track of: - Students registered to the course (max 20 students) - Description of the course - And course number (int) Define the class constructor which initialize all the above fields; Define a method that prints the name of the registered students; Define a method for printing the course description; Define a method to add a student to the course; [Optional] Define a method to delete a student from the course; Update the Test class to create two courses with at least 3 students each, and test the above methods functionality
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
