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:

Verified
Correct Answer:
Verified
Q18: All of the exceptions that you will
Q19: To read data from a binary file
Q20: Given the following constructor code, which of
Q21: What is demonstrated by the following code?<br>Try<br>{<br>(try
Q22: If you want to append data to
Q25: A(n) _ is an object that is
Q26: When writing a string to a binary
Q28: The catch clause:<br>A) follows the try clause<br>B)
Q36: The throws clause causes an exception to
Q44: The call stack is an internal list