Solved

Which of the Following Statements Is Correct

Question 23

Multiple Choice

Which of the following statements is correct?


A) If a checked exception is likely to be caught in a higher-level method, declare that it can occur using a catch clause.
B) If an exception is recoverable in the current method, handle the exception in the current method.
C) If an unchecked exception is is likely to be caught in a higher-level method, use a @catch tag to document this fact in the Javadoc comment for the method.
D) If an unchecked exception is likely to be caught in a higher-level method, declare that it can occur using a throws clause.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions