Lessons: 18Length: 2 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

3.2 Reading Text Files & Exceptions

In this lesson we’re going to learn how to read lines of text from a basic text file using a combination of the Scanner class and a new class named File. We’re also going to learn how to use the try, catch, and finally statements to handle checked exceptions.