Which two statements are correct about try blocks?

Which two statements are correct about try blocks? (Choose two.)
A. A try block can have more than one catch block.
B. A finally block in a try-with-resources statement executes before the resources declared are closed.
C. A finally block must be immediately placed after the try or catch blocks.
D. A try block must have a catch block and a finally block.
E. catch blocks must be ordered from generic to specific exception types.

Download Printable PDF. VALID exam to help you PASS.

One thought on “Which two statements are correct about try blocks?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.