Solved

Which Code Moves the File Pointer to the Middle of a RandomAccessFile

Question 35

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions