created: 06/24/00; revised: 07/09/02, 10/2/11
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.
(Directories are sometimes called "folders".)
Using the File
class will greatly improve
programs that read or write disk files.
File
File
objects with Stream Constructors
What package (do you suspect) has the
definition of File
?