Based on the code below, the statement that would move the file pointer to byte n counted from the beginning of the file is ___________________. RandomAccessFile test = new RandomAccessFile("record.bat", "r") ;
A) test.getFilePointer(n) ;
B) test.getFilePointer() ;
C) test.seek(n) ;
D) test.length() - n;
Correct Answer:
Verified
Q64: When storing numbers in a file with
Q65: The readInt and writeInt methods of the
Q66: The two IO classes used for serialization
Q67: Objects are saved in _ format in
Q68: How many methods are required to implement
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
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