A file.
Class FileReader
is discussed in the following chapters.
But now let us look at the classes that descend from Writer
.
Writer is an abstract class from which all
character-oriented output streams are derived.
All these streams are aimed at receiving 16-bit
char
data from a program,
and sending it to another destination,
which may use a different character
format (such as UTF format on a disk file).
All these classes are character-oriented output streams.
We will be especially interested in FileWriter
and PrintWriter
classes.
(Review: ) What type of data does an InputStream
handle?