CS 1401, Quiz 10, MW version

Date: Monday, November 10, 2014
Name (please type legibly, ideally in block letters): ______________________________________________________________________

1. Write down a Java code describing a class Course. Each object of this class should have a class title, a corresponding major, and the number of students taking this course. Define a constructor and all needed get- and set-methods. In the main program, call a constructor to create an object of type Course describing this course.