Multiple Choice
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.length() - n;
C) test.seek(n) ;
D) test.getFilePointer() ;
Correct Answer:

Verified
Correct Answer:
Verified
Q14: Which expression determines whether there is a
Q15: The two IO classes used for serialization
Q16: Streams access sequences of _.<br>A)bytes<br>B)files<br>C)characters<br>D)strings
Q17: Which of these classes access sequences of
Q18: Assume we have a RandomAccessFile object, file,
Q20: If you access and store information in
Q21: In _ file access, the file is
Q22: Every object is assigned a serial number
Q23: What type is returned from a call
Q24: How many bytes does the read method