Courseiva
Handling ExceptionseasyMultiple SelectObjective-mapped

1Z0-829 Handling Exceptions Practice Question

Which TWO of the following are unchecked exceptions? (Choose two.)

⚠ Common exam trap

A common mix-up: candidates confuse 'Exception' (the superclass) as unchecked, but Exception itself is a checked exception; only RuntimeException and its subclasses are unchecked.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

NullPointerException

NullPointerException (option C) is an unchecked exception because it extends RuntimeException, which means it is not checked at compile time. The Java compiler does not require you to handle or declare NullPointerException, making it an unchecked exception.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • SQLException

    Why it's wrong here

    SQLException is a checked exception; it extends Exception directly and must be handled or declared.

  • Exception

    Why it's wrong here

    Exception is the superclass of all checked exceptions (except RuntimeException), so it is a checked exception and must be handled or declared.

  • NullPointerException

    Why this is correct

    NullPointerException extends RuntimeException, making it an unchecked exception. It does not need to be handled or declared.

  • ArrayIndexOutOfBoundsException

    Why this is correct

    ArrayIndexOutOfBoundsException extends RuntimeException, making it an unchecked exception. It does not need to be handled or declared.

  • IOException

    Why it's wrong here

    IOException is a checked exception; it extends Exception directly and must be handled or declared.

About these practice questions

One of 513 original 1Z0-829 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 1Z0-829 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-829 exam.