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 created using the data in the file, SWE344.txt. It then groups the students into three files, ICStudents.txt, SWEStudents.txt and OTHERStudents.txt based on their majors.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

joy.simpsonRank #4,292 · 353 reputationPosted Feb 29, 2004, 7:23 AM EST