created: 06/24/00; revised: 07/09/02, 10/2/11, 09/01/14, 10/14/17

go to home page   go to next page

CHAPTER 106 — 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. This class is also used for working with disk directories. (Directories are sometimes called "folders".)

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

Chapter Topics:


QUESTION 1:

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


go to home page   go to next page