[Oracle interview]If I write return at the end of the try block, will the finally block still execute?
Yes. evenif you write return as the last statement in the try block and no exceptionoccurs, the finally block will execute. The finally block will execute andthen the control return.
页:
[1]