Tuesday, March 10, 2009

What is the purpose of the finally clause of a try-catch-finally

Question :What is the purpose of the finally clause of a try-catch-finally
statement? (CoreJava)

Answer :The finally clause is used to provide the capability to execute code no
matter whether or not an exception is thrown or caught.

No comments: