Multiple Choice
Assume we have a RandomAccessFile object, file, which stores a set of records of class MyData, each needing MyData.RECORD_SIZE bytes for storage. If the file pointer is currently on the 24th record, which expression gets to the offset of the beginning of the 25th record?
A) MyData.RECORD_SIZE + 1
B) MyData.RECORD_SIZE + file.getFilePointer()
C) MyData.RECORD_SIZE * 2
D) file.getFilePointer()
Correct Answer:

Verified
Correct Answer:
Verified
Q65: Which interface allows classes to be written
Q66: Which class is used for input of
Q67: Given a RandomAccessFile that stores a set
Q68: If you want to process text data
Q69: Which of these classes access sequences of
Q71: Which of the following statements enables you
Q72: _ access allows file access at arbitrary
Q73: Which is not a method in the
Q74: The _ method returns an integer, either
Q75: Which line completes this code fragment so