Reading Files with Java
Reading a file is going to require using a stream like we’ve seen before. The we will read through the file. Opening the File First we will need to set up a FileReader object, such as: Note, in order to use FileReader, you will need to import java .io into your project. However, we will…