Question Info

This question is public and is used in 5 tests.

Type: Open-Ended
Category: Programming
Grade: None
Score: 1
Author: BacMan orange star
Last Modified: 2 weeks ago

View all questions by BacMan.

View Question

View this question.

Add this question to a group or test by clicking the appropriate button below.

add this question to a test add this question to a group

1 vote
  • If I write a return at the end of a try block, will the finally block still execute? Explain.
    • Yes, even if you write return as the last statement in the try block and no exception occurs, the finally block will execute.