java: try finally blocks execution [duplicate]
When you return from try block, the return value is stored on the stack frame for that method. After that the finally block is executed. Changing the value in the finally block will not change the value already on the stack. However if you return again from the finally block, the return value on the … Read more