Program that manages information about students. The program reads student data from a file, initialize student objects, and perform various operations based on user input.
To read student data from file: Call readFromFile(fileName) function, pass in file's path as a string
To display all students: Call displayStudents() function
To search for student: Call searchStudentById(id) function, pass in id as an int
To set student's grade: Call updateStudentGradeById(id, grade), pass in id as an int & grade as a double
Modules used:
- import java.io.FileInputStream;
- import java.io.FileNotFoundException;
- import java.util.ArrayList;
- import java.util.Scanner;