Lecture overview -- Keyboard shortcut: 'u'  Previous page: Directories and Files [Section] -- Keyboard shortcut: 'p'  Next page: Members in class FileInfo -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Input and Output Classes - slide 26 : 40

The File and FileInfo classes

The class FileInfo represents a file

The class File holds static methods for creation, copying, deletion, moving, and opening of files

A demonstration of the FileInfo class.
Output from the FileInfo demo program.
A demonstration of the File class.
Output from the File demo program.
There is a substantial overlap between the instance methods of class FileInfo and the static methods in class File