import java.io.*; public class filereader { public static void main(String[] args) throws IOException {FileReader fr = new FileReader("quiz.txt"); BufferedReader br = new BufferedReader(fr); String line; for (int x=1; x <= 6; x++) { line = br.readLine(); System.out.println(line); } }} or String n; while ((n = br.readLine()) != null) {System.out.println(n) } __________________________________________ The above will read 5 strings from a text file. Your assignment is to create a quiz program that a person could take and then be graded on. You should have question class that will store a question, 4 possible answers and a correct answer. You should use an ArrayList of these question class to store the quiz. The quiz should be stored in a text file then read into an ArrayList. Once the questions are stored in an ArrayList you can have the program begin the quiz. The quiz should tell the person if the question right or wrong and what the correct answer was. Th quiz should keep score. You will get extra credit if you have the questions come out in random order.