Reading and writing text files in Java. Using the hasNextLine method to control the loop. Using a Scanner with File and String initializers to process text from different sources.
Table of Contents:
02:37 - Load text from a file
06:02 - Why we need to close the stream
08:11 - adding a breakpoint for debug trace
09:21 - eclipse debug controls
13:37 - Test with invalid file.
17:07 - Saving text to a file
20:03 - close Scanner and FileWriter