Problem Statement
Which pair correctly classifies exceptions in Java?
Explanation
Checked exceptions must be declared or handled; examples include IOException and SQLException. Unchecked exceptions extend RuntimeException; NullPointerException and ArithmeticException are typical. Errors are also unchecked and indicate serious VM problems.
Practice Sets
This question appears in the following practice sets:
