1Z0-829 Handling Exceptions • Set 2
1Z0-829 Handling Exceptions Practice Test 2 — 15 questions with explanations. Free, no signup.
A Java 17 service uses a `try` block with a `finally` clause that calls `connection.close()`. The `close()` method can throw a `SQLException`. Inside the `try` block, a `RuntimeException` is thrown. What is the outcome when both the `try` block throws and `close()` also throws during `finally`?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.