What is the purpose of the finally clause of a try-catch-finally statement?
Answer / 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 |
what is container?
what is disadvantage of thread?
diff between jsp include directive and jsp action include?
Difference between sleep and suspend?
important features of java which differenciate it from c++
Can we sent objects using Sockets?
What is the use of Semaphore?
What is serialization and de-serialization ?
What is the purpose of the notifyall() method?
difference. between List and Set?
2 Answers Campus Interaction, HCL, Infotech,
Are enterprise beans allowed to use thread.sleep()?
What is the difference between a menuitem and a checkboxmenuitem?