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
Q70: The readDouble and writeDouble methods of the
Q71: Every object is assigned a serial number
Q72: Which interface allows classes to be written
Q73: Objects saved to an object stream must
Q74: Which method moves the file pointer in
Q76: Which of the following classes are related
Q77: A file pointer is a position in
Q78: Which of the following cannot be serialized?
I
Q79: Which methods are not in the Serializable
Q80: In which package are most classes for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents