Programming in Java
Lab 3 Main
Your main should do the following:
- Create a ClassSchedule object
- Create the following Courses and add them to your ClassSchedule object:
- CSC211, Programming in Java, section 01, Computer Science Department
- MAT131, Calculus I, section 01, Math Department
- CSC241, HTML and CGI Programming, section 01, Computer Science Department
- MAT 131, Calculus I, section 02, Math Department
- CSC211, Programming in Java, section 02, Computer Science Department
- ENG247, Introduction to Poetry, section 01, English Department
Create
the Introduction to Poetry course so that the maximum number of students allowed
is 1. You can make up the day, start and end times for all the courses, and
maximum number of students allowed for courses other than Introduction to
Poetry.
- Print the ClassSchedule object
- Create a StudentSchedule object (you choose the student name and number)
- Add three courses to the StudentSchedule (one of the courses should be
Introduction to Poetry) and then print the StudentSchedule
- Drop one course (other than Introduction to Poetry) from the
StudentSchedule and print the StudentSchedule again
- Print all Computer Science courses in the ClassSchedule
- Print all sections of Calculus I in the Class Schedule
- Create another StudentSchedule object (you choose the student name and
number) and add Introduction to Poetry
- Print the second StudentSchedule object
Email Me |
Office Hours |
My Home Page |
Department Home |
MCC Home Page