Java Input/Output  «Prev  Next»

Creating Reader Stream - Exercise

Objective: Create a reader stream to read buffered data from a file.

Exercise scoring

This exercise is worth a total of 1 point. You do not have to submit your code to the course tutors to receive credit for this exercise.

Instructions

Write the code to create a buffered reader that is capable of reading data from a text file named Factoids.txt.
This exercise only requires a single line of code, which you will use later in the module.
After completing the exercise, click the Submit button to view the result set.