CHAPTER 84 — Reading from Text Files



created: 06/07/00; revised 06/09/03

CHAPTER 84 — 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 (Java char) format.

Chapter Topics:

  • Reader
  • FileReader and BufferedReader
  • readLine()
  • Text file copy program.
  • C-style input loop.

FRAGE 1:


What is the ancestor class of
all character-oriented input streams?