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?

Answers were Sorted based on User's Feedback



What is the purpose of the finally clause?..

Answer / dhawal

the code block in finally block must be executed if
exception throws or not,except if we write system.exit(0);

Is This Answer Correct ?    4 Yes 0 No

What is the purpose of the finally clause?..

Answer / ranganathkini

The finally clause is used to ensure that a single statement
or a set of statements are executed irrespective of whether
or not an exception is thrown/caught inside a method.

Is This Answer Correct ?    2 Yes 0 No

What is the purpose of the finally clause?..

Answer / ravikiran

finally clause is used to get executed irrespective of the
exception raising inorder to conserve the resources

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Core Java Interview Questions

How does synchronized modifier work?

1 Answers   IBM,


What is the ResourceBundle?

2 Answers   Elementus Technologies,


There can be a abstract class without abstract methods, but what is the need to declare a class abstract if it doesn't contain abstract methods?

5 Answers   HCL,


What is oops in java?

0 Answers  


Why are pointers not secure?

0 Answers  


what is the Use of throws exception?

2 Answers  


Why all programming languages have main as a execution starting point?

4 Answers  


What are reference variables in java?

0 Answers  


Compare java and python.

0 Answers  


What is the difference between iterator and list iterator?

0 Answers  


Explain jvm, jre, and jdk?

0 Answers  


can we write two same methods in outer class and innerclass.

1 Answers   3i Infotech,


Categories