Multiple choice technology programming languages

Java guarantees that a finally clause (if one is present) will execute even if a try block exits by using a return, break or continue statement.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Java guarantees that the code inside a finally block will always execute before leaving a try-catch block, regardless of whether a return, break, or continue statement was executed earlier.