Can you pls help me in making my case study, I badly need your help because im going nuts.
This is about RANDOM ACCESS FILE.

We will make a Student Info (The name of the cless should be StudInfo).
It contains the diff info's of the student including Name,Grade,Passed or Failed.
i'm having a problem on how could i make a code that would read the info of the student that is written in the notepad.
It should be in/an Array List.


Thank you for the help. I really need this.
ASAP.

Create an object StudentInfo with attributes the name, the grade, and a boolean that indicates if the student has passed or not.

Read the file like this:

BufferedReader reader = new BufferedReader(new FileReader("fileName.txt"))

String input = reader.readeLine();

BufferedReader

The lines of the file will have each one of them data for each student separated by some sort of delimiter so you might want to use the spilt() method of String for each line. String

file:
name;A;PASS
name2;D;FAIL


Also: ArrayList