Interview Question: Will Code In Finally Block Being Executed When There Is A 'Return' In Try Block
Will Code In Finally Block Being Executed When There Is A 'Return' In Try Block?
Finally block allow us to specify code that's guaranteed to execute no matter what kind of exception a thread throws.
Sample Code: Try_Catch_Finally.zip
0 comments:
Post a Comment