Multiple choice

Which of the following is the example of unchecked exception in java?

  1. ArithmeticException

  2. ClassNotFoundException

  3. IllegalAccessException

  4. NoSuchFieldException

  5. NoSuchMethodException

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

Yes, it is an unchecked exception. An unchecked exception can not be handled at compile time but a checked exception can be handled at compile time.