Question OOP-EXC-0001
EasyWhat is an exception?
- A.
A special kind of loop
- B.
An event during execution that disrupts the normal flow, such as dividing by zero
- C.
Show answer and explanation
Answer: B
Exceptions can be caught and handled so the program can recover or fail gracefully.