Q.
Java’s exception handling mechanism is meant to handle
[A]
only compile time errors
[B]
only syntax errors
[C]
only runtime errors
[D]
both runtime and compile time errors
Answer & Explanation
Option: [C]
Java’s exception handling mechanism handle errors such as divide integer by zero, ClassNotFound etc.