Exam-style question
Try this first
Which statement about exception handling is correct?.
- A.It can provide a planned response when an exceptional condition occurs
- B.It guarantees that a program contains no errors
- C.It means that all input is automatically correct
- D.It prevents a program from executing any statements
Answer and explanation
Concise answer
It can provide a planned response when an exceptional condition occurs
Why this is correct
Exception handling does not guarantee that a program is error-free. It provides a way to respond to certain problems that occur during execution.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
