1Z0-829 • Practice Test 9
Free 1Z0-829 practice test — 10 questions with explanations. Set 9. No signup required.
A Java application uses a custom resource class implementing AutoCloseable. The close() method throws a checked exception. In a try-with-resources block, if both the try block and the close() method throw exceptions, which exception is propagated to the caller? Assume the resource is declared in try-with-resources.
Choose an answer to begin — your selection is scored in the full session.
10 questions · instant feedback and full explanations after every question.