IN Java If the catch-or-declare requirement for a checked exception is not satis
ID: 644508 • Letter: I
Question
IN Java If the catch-or-declare requirement for a checked exception is not satisfied:
Question 9 options:
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, along with a message indicating that the exception must be caught. D) a stack trace will be displayed indicating the exception that has occurred and where it occurred.Explanation / Answer
B) the compiler will issue an error message indicating that the exception must be caught or declared.