Solved

If the IOData

Question 23

Multiple Choice

If the IOData.dat file does not exist, what will happen when the following statement is executed?
RandomAccessFile randomFile =
New RandomAccessFile("IOData.dat", "rw") ;


A) A FileNotFoundException will be thrown.
B) An IOExcepton will be thrown.
C) The file IOData.dat will be created.
D) This is a critical error, the program will stop execution.

Correct Answer:

verifed

Verified

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

Related Questions