another task
) Write a class, Student, with the fields, id, name and major; a constructor that takes the 3 fields, and the ToString method.
(d) Write a test class, TestStudent, that creates an array of Students of maximum size 35 (declared as a constant). In then initializes the array with Student objects . It then groups the students into three files, ICStudents.txt, SWEStudents.txt and OTHERStudents.txt based on their majors.
joy.simpsonPosted Feb 29, 2004, 12:23 PM
jimteeuwenPosted Feb 29, 2004, 8:54 AM