[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 495 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 12, 2018 02:38:44.