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.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

jimteeuwenRank #4,734 · 328 reputationPosted Feb 29, 2004, 3:54 AM EST
joy.simpsonRank #4,292 · 353 reputationPosted Feb 29, 2004, 7:23 AM EST