SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Implementing Exception Handling in Java Applications

finally and return values: what finally can and cannot change

2 min read · 352 words1Z0-831Updated

In one line: The return value is fixed before finally runs; finally can mutate objects, and any return or throw in it wins.

You’ve read your 2 free 1Z0-831 lessons

Sign up free to read every lesson — your progress is saved.

Spotted a mistake in this part?

Part 7 of 10Next