Originally Posted by
leonne
its a txt file here
1. Make sure you have the code in your view class, StudentSystem, to receive all commands listed in the latest Mid-term project requirement document on Sakai. Make sure your program can be compiled and executed after this.
2. Add String variables such as RUID, first name, last name to Student class. And add getter and setter methods for them. Add a Hashtable variable, enrollments to hold all enrollment of this stduent. Add a constructor with three String parameters for RUID, first name, and last name.
3. Add String variables such as index, name to Course class. And add getter and setter methods for them. Add a Hashtable variable, enrollments to hold all enrollment of this course. Add a constructor with String parameters for index and name.
4. Add variable student of Student type, variable course of Course type, and String variable grade to Enrollment class. And add getter and setting methods for them. Add a constructor with Student and Course variable as input parameters. An Enrollment object represent one Student register for one Course with one grade.
5. Add Hashtable variable, such as students, to hold all Student objects, to StudentRecords class. Add method, addStudent, with three String parameters, RUID, first name, last name to create a Student object and add it into students hashtable with RUID as key. Add method, getStudent, with String parameter, RUID, to find a student in the hashtable, and return the Student object.
6. Add Hashtable variable such as courses to hold all Course objects, to CourseOfferings class. Add method, addCourse, with two String parameters, index and name to create a Course object and add it into courses hashtable with index as key. Add method, getCourse, with String parameter, index, to find a course in the hashtable, and return the Course object.