created: 06/24/00; revised: 07/09/02


CHAPTER 87 — The File Class

Often a program operates on a disk file as a whole―renames it, checks if it exists, deletes it, or alters its properties. These operations are performed by using the methods of the class File. The class is also used for working with directories.

Chapter Topics:

Using the File class will greatly improve programs that read or write disk files.

QUESTION 1:

What package (do you suspect) has the definition of File?