Multiple Choice
If the catch-or-declare requirement for a checked exception is not satisfied ________.
A) the compiler will issue an error message indicating that the exception must be caught.
B) the compiler will issue an error message indicating that the exception must be caught or declared.
C) a stack trace will be displayed indicating the exception that has occurred and where it occurred.
D) a stack trace will be displayed,along with a message indicating that the exception must be caught.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: This is known as the model of
Q1: Exceptions can be thrown by _.<br>A) the
Q2: An uncaught exception _.<br>A)is a possible exception
Q3: When an exception occurs it is said
Q6: Which of the following statements is false?<br>A)
Q8: In the catch block below,what is e?<br>Catch
Q9: To catch an exception,the code that might
Q10: The throws clause of a method:<br>A)specifies the
Q11: Which of the following exceptions is a
Q18: Which of the following statements is true?<br>A)