What is the purpose of the finally clause of a try-catch-finally statement?
Answer Posted / Kundan Prajapati
The purpose of the finally clause in a try-catch-finally statement is to ensure that any clean-up code (such as closing resources) is executed, regardless of whether an exception occurred during execution or not.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category