Create a simple sequential-access file-processing program that might be used by professors to help manage their student records. For each student, the program should obtain an ID number, the student's first name, the student's last name and the student's grade. The data obtained for each student constitutes a record for the student and should be stored in an object of a class called Student. The program should save the records in a file specified by the user.© BrainMass Inc. brainmass.com September 24, 2018, 7:09 pm ad1c9bdddf - https://brainmass.com/computer-science/java/java-sequential-access-file-processing-program-561497
Please rename attached 561497-StudentsManager.java to StudentsManager.java before you compile and run the program.
Java version "1.7.0_21" was used to compile and execute the program during development and testing. You can compile and execute the program as shown below.
> javac StudentsManager.java
> java StudentsManager
Welcome to Students ...
Java version "1.7.0_21" was used to compile and execute the program during development and testing. Attached program makes use of two classes: Student, and StudentsManager, and is fairly modularised - it uses runManager, readStudentData, and writeStudentsRecordsToFile methods in class StudentsManager to achieve this modularisation.