Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?..

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

Post New Answer

More Advanced Java Interview Questions

what is container?

3 Answers   Infosys, Infotech,


what is disadvantage of thread?

3 Answers   HCL,


diff between jsp include directive and jsp action include?

2 Answers   SolutionNET,


Difference between sleep and suspend?

3 Answers  


important features of java which differenciate it from c++

3 Answers  


Can we sent objects using Sockets?

1 Answers  


What is the use of Semaphore?

3 Answers  


What is serialization and de-serialization ?

5 Answers  


What is the purpose of the notifyall() method?

1 Answers  


difference. between List and Set?

2 Answers   Campus Interaction, HCL, Infotech,


Are enterprise beans allowed to use thread.sleep()?

1 Answers  


What is the difference between a menuitem and a checkboxmenuitem?

1 Answers  


Categories