Multiple choice

Which class in the java.io package implements a random access file?

  1. Random File

  2. Random Access File

  3. Acess File

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The class 'RandomAccessFile' in the java.io package provides the functionality to read and write to a file at random positions.