Multiple choice

Which of the following is/are example(s) of checked exception in java?

  1. IOException

  2. ClassNotFoundException

  3. SQLException

  4. All of the above

  5. Only (1) and (2)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

All are examples of checked exception.