Multiple Choice
Which code moves the file pointer to the middle of a RandomAccessFile object, file?
A) file.seek(file.length() / 2)
B) file.seek(file.length() )
C) file.seek(0L)
D) file.seek(file.getFilePointer() / 2)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q30: In Java, you use a(n) _ object
Q31: Assume we have a RandomAccessFile object, file,
Q32: The values of the byte type range
Q33: Every object is assigned a serial number
Q34: What is returned by the read method
Q36: What type is returned from a call
Q37: Caesar cipher uses a shift of each
Q38: Streams access sequences of _.<br>A) characters<br>B) files<br>C)
Q39: In Java, the simplest mechanism for reading
Q40: Caesar cipher uses a shift of each