Multiple Choice
When an exception is thrown by code in the try block, the JVM begins searching the try statement for a catch clause that can handle it and passes control of the program to
A) the last catch clause that can handle the exception.
B) each catch clause that can handle the exception.
C) the first catch clause that can handle the exception.
D) the statement that appears immediately after the catch block.
Correct Answer:

Verified
Correct Answer:
Verified
Q5: To write data to a binary file,
Q6: If a class has fields that are
Q8: When using the throw statement, if you
Q9: All of the exceptions that you will
Q9: A class must implement the Serializable interface
Q11: In Java, there are two categories of
Q12: This is a section of code that
Q15: To read data from a binary file,
Q28: What will the following code display? String
Q36: The throws clause causes an exception to