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:

Image Understanding (IU)

Throughout these years, the growth of digital media collections has been accelerating, particularly in still images. These artifacts repre...