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

Verified
Correct Answer:
Verified
Q5: Which file storage method is in human-readable
Q6: Assume we have a RandomAccessFile object, file,
Q7: The _ class is used when writing
Q8: What is the highest value for a
Q9: How many bytes does the read method
Q11: Caesar cipher uses a shift of each
Q12: Which of the following reads binary data
Q12: If serializing object obj requires 12 bytes,
Q14: What is the result of the following
Q15: You cannot read a(n) _ file with