created: June 6, 2000; revised: 07/07/2002, 08/06/2002, 06/08/2006, 08/19/2011
FileWriter
write()
method BufferedWriter
This chapter explains how to create a text file on the hard disk and how to write character data to it.
Chapter 21 used redirection to write text files. Redirection is when output that would normally go to the monitor is sent to a disk file. The program has no control of this.
In this chapter your program creates a file and writes output to it.
(Review: ) What is the ancestor class of all streams that do character-oriented output?