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

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

0 comments:

Post a Comment

 
Copyright © Interview Questions and answers - Blogger Theme by BloggerThemes & freecsstemplates - Sponsored by Internet Entrepreneur