The 'finally' block's return overrides the 'try' block's return.
If both 'try' and 'finally' blocks contain return statements, the return in the 'finally' block overrides the one in the 'try' block. This can lead to unexpected behavior if you assume the 'try' return will execute. For instance, in a method returning a value, ensure the 'finally' doesn't unintentionally change the return value.
Additional Notes
What if both ‘try’ and ‘finally’ have return statements?