Vidyalelo
Java Programming · Q18

Input Output

Programming · Java Programming · question 18

Q18

What is the purpose of the `RandomAccessFile` class in Java?

A.
It is used to read data from the keyboard
B.
It is used to write data to a file
C.
It is used to perform mathematical operations
D.
It allows reading and writing at random positions in a file
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board