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

when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

0 Answers   SAP Labs,


In which JDK version event-delegation model is introduced?

1 Answers  


Under what conditions is an object’s finalize() method invoked by the garbage collector?

0 Answers  


What is method overloading in JAVA? Why is it not present in C ?

0 Answers   Akamai Technologies,


Differentiate between a class and an object.

0 Answers  


What do bitwise operators do?

0 Answers  


How we can make copy of a java object?

0 Answers  


What is the blank final variable?

3 Answers  


What does += mean coding?

0 Answers  


What is the difference between throw and throws?

5 Answers   Cap Gemini,


What is the access scope of protected access specifier?

0 Answers  


what is the replacement method of stop() of thread

8 Answers   IBM, TCS,


Categories