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.
File
File
objects with Stream Constructors
What package (do you suspect) has the
definition of File
?