Wednesday, February 11, 2009

When is the finally clause of a try-catch-finally statement executed

Question :When is the finally clause of a try-catch-finally statement executed?
Answer :The finally clause of the try-catch-finally statement is always executed unless the thread of execution terminates or an exception occurs within the execution of the finally clause.

No comments: