
798 CHAPTER 11 Exceptions and Input/Output Operations
EXERCISES,PROBLEMS, AND PROJECTS
■
The StringTokenizer class in the java.util package is helpful in parsing
a String consisting of fields separated by one or more delimiters.
■
The FileOutputStream and PrintWriter classes provide functional-
ity to write primitive data types to a text file.
■
Objects can be written to a file; they must be instantiated from a
class that implements the Serializable interface.
■
The Serializable interface has no methods; therefore, no additional
methods need to be implemented in a class that implements the
Serializable interface.
■
The FileOutputStream and ObjectOutputStream ...