Solved

Which of the Following Statements About Exception Handling Is Recommended

Question 100

Multiple Choice

Which of the following statements about exception handling is recommended by the textbook?


A) All exceptions should be handled where they are first detected.
B) All exceptions should be handled at the top of the chain of methods.
C) Throw an exception only when the problem can be handled.
D) Throw an exception as soon as a problem is detected, but only catch exceptions when the problem can be handled.

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