Solved

Which of the Following Statements About Exception Handling Is Recommended

Question 6

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