Multiple choice

Which of the following is not an unchecked exception?

  1. ArithmeticException

  2. NullPointerException

  3. NumberFormatException

  4. ArrayIndexOutOfBoundsException

  5. IOException

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

This is a checked exception. Such exceptions are checked at the compile time.