Multiple choice technology platforms and products

What is NullPointerException

  1. UncheckedException

  2. CheckedException

  3. Error

  4. UnspecifiedException

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

NullPointerException extends RuntimeException, making it an unchecked exception. This means developers aren't required to catch or declare it - it typically indicates programming errors like attempting to use a null reference where an object is required.