Solved

Based on the Code Below, the Statement That Would Move

Question 10

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:

verifed

Verified

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

Related Questions