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

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

Dedun
Views: 558 | Community Opinion: 1

Tags..  Java Interview  Core Java

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Jomesh Said..

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






What do you think? Add your opinion/answer
*Name
*your opinion/answer: