Source Code Structure

Your project should contain the following files:

  1. StudentDriver.java: Download the code and import it into Eclipse. This has the code skeleton for performing file handling operations along with comments to guide you as you complete the program.

  2. Student.java: Create a class Student to hold the student information that you will read in from the file.

  3. students.txt: This file contains the student records. Download and import this file into Eclipse and put it into the LabAssignments project folder. This is as simple as dragging the file onto "LabAssignments" in the package explorer. This file's name needs to be passed as a command line argument to the program. If you put the file somewhere other than the LabAssignments folder, you will need to give the full path of the file as the argument to the program.