Phase I (Worth a 90%)
|
Program Assignments |
Description |
Due Date |
|
Student |
Write a Student class that contains Name, Grade, and an ArrayList containing java.util.Date objects for each day students are absent. Methods should include: getName, getGrade, addAbsence (which takes a date parameter), wasAbsent (which takes a date parameter and determines if the student was absent on that day), and removeAbsence which removes the date from the given arraylist |
12/12 |
|
Class List |
Write a ClassList class that contains an ArrayList of Student objects. The ClassList class should have the following methods: loadClassList(which takes an ArrayList of students and records them as students in the class without replacing what is there), addStudent, recordAbsence (which takes a student name (String) and a date), numStudentsPresent (which takes a date and returns the number of students in class on that day. |
12/14 |