dch_tt

dch_tt

  • NA
  • 3
  • 0

another task

Feb 28 2004 6:06 AM
) 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.

Answers (1)