Difference between the File and Random Access File classes?
Ans) The File class encapsulates the files and directories of the local file system. The Random Access File class gives the methods needed to directly access data limited in any part of a file.