Reading Data from a File
1. Reading from Text Files
An input stream can be connected to a text file. With character-oriented input streams, characters are automatically translated from the external (disk file) format to the internal (Javachar
) format.Chapter Topics:
- Reader
- FileReader and BufferedReader
- readLine()
- Text file copy program
- C-style input loop
Question 1:
What is the ancestor class of all character-oriented input streams?
Source: Bradley Kjell, http://programmedlessons.org/java5/Notes/chap84/ch84_1.html This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 License.