1Z0-829 Handling Exceptions Practice Question
Which THREE statements about exception handling are true? (Choose three.)
⚠ Common exam trap
Test-takers frequently confuse the 'effectively final' concept with multi-catch syntax, incorrectly thinking that only multi-catch variables are effectively final, when in fact all catch clause variables are implicitly final in Java.
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
✓
Multi-catch syntax uses the pipe symbol (|) between exception types.
Java's multi-catch syntax allows a single catch block to handle multiple exception types by separating them with the pipe symbol (|). This reduces code duplication when different exceptions require the same handling logic.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The variable in a catch clause is effectively final only when using multi-catch syntax.
Why it's wrong here
In single catch, it can be reassigned.
- ✗
A finally block is mandatory in a try-with-resources statement.
Why it's wrong here
Finally is optional.
- ✓
Multi-catch syntax uses the pipe symbol (|) between exception types.
Why this is correct
Correct syntax.
- ✓
Checked exceptions must be handled or declared in the throws clause.
Why this is correct
Checked exceptions requirement.
- ✓
A finally block will not execute if the JVM exits before the finally block.
Why this is correct
if System.exit() is called.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 1Z0-829 question from scratch — 513 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.