Solved

Which of the Following Statements Is Correct

Question 35

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents