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
Model answer
What a good answer should say
- It can provide a planned response when an exceptional condition occurs
Explanation
Why this works
Exception handling does not guarantee that a program is error-free. It provides a way to respond to certain problems that occur during execution.
Common mistake
No common mistake is linked to this question yet.
