[Logo]
Forums Register Login
Is it legal to Return any value from finally block ?
Is it legal to Return any value from finally block ?
well java allows you to have return value in finally block.

But it is not advisable to do so.

The reason is it overrides the value in try block. Its not a good practise too.


This thread has been viewed 484 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 25, 2018 20:37:52.