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

Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 445 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jan 17, 2018 19:20:11.