Which statements about try-with-resources are false? (Choose two.) A. If more than one resource is used, the

Question:

Which statements about try-with-resources are false? (Choose two.) 

A. If more than one resource is used, the resources are closed in the order they were created.

B. Parentheses are used for the resource declaration section, even if more than one resource is used.

C. If the try block and close() method both throw an exception, then the one thrown by the close() method is suppressed.

D. A resource may be declared before it is used in a try-with-resources statement.

E. Resources declarations are separated by commas.

F. A catch block is not required.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: