Question: Each question occupies five consecutive lines: the first line is the question description, the next three lines are three possible answers, and the last line

Each question occupies five consecutive lines: the first line is the question description, the next three lines are three possible answers, and the last line is a number 1, or 2, or 3, which indicates which answer is the correct answer.

The exact number of questions is unknown, but we do know that the questions are separated from one another by an empty line.

How to read from a txt file in java? It needs to read this info into a array list which I have already set up.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!