Projects from year 1998 until NOW ... - Developed by AHYEEK

Monday, June 28, 2010

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

No comments: