Chapter 12: Problem 23
What class do you use to work with random access files?
Short Answer
Expert verified
Answer: The Java class used for working with random access files is java.io.RandomAccessFile. This class allows users to read and write data randomly within a file, such as updating specific records in a file. To use this class, create an instance with a specified file and open mode, and then use its methods (such as read() and write()) to perform random access operations on the file.