Which of the following statements about finally blocks are true? (Choose two.) A. Every line of the
Question:
Which of the following statements about finally blocks are true? (Choose two.)
A. Every line of the finally block is guaranteed to be executed.
B. The finally block is executed only if the related catch block is also executed.
C. The finally statement requires curly braces, {}.
D. A finally block cannot throw an exception.
E. The first line of a finally block is guaranteed to be executed.
F. A finally block can only throw unchecked exceptions.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
OCP Oracle Certified Professional Java SE 11 Developer Practice Tests Exam 1Z0 819 And Upgrade Exam 1Z0 817
ISBN: 9781119696131
1st Edition
Authors: Scott Selikoff, Jeanne Boyarsky
Question Posted: