Oracle 1z0-808 Question Answer
Given the code fragment:
What is the result?
Execution terminates in the first catch statement, and Caught a RuntimeException is printed to the console.
Execution terminates in the second catch statement, and Caught an Exception is printed to the console.
A runtime error is thrown in the thread "main".
Execution completes normally, and Ready to use is printed to the console.
The code fails to compile because a throws keyword is required.
TESTED 09 Jul 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved