Title: Use the character-based streams for file I/O.
Course: Java Programming (Oracle) (10055) > Section: Exploring Database Input/Output

Using character-based streams for file I/O should include reading characters using the FileReader class. Sample code follows:

//Create a FileReader class from the file name.
FileReader fr = new FileReader("filename.txt");
int i = fr.read(); //Read a character