Solved

If the IOData

Question 40

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents