Forums Java Help What is the difference between the File and RandomAccessFile classes

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15279
    ahprofessional
    Participant

    What is the difference between the File and RandomAccessFile classes?

    #15282
    Aakanksha
    Participant

    The File class encapsulates the files and directories of the local file system. The RandomAccessFile class provides the methods needed to directly access data contained in any part of a file.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.