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

When finally clause is executed?

Answer Posted / dinesh

Finally clause is used to handle an exception that is not
caught by any of the previous catch statements.Finally
block can be used to handle any exception generated within
a try block.It may be added immediately after the try block
or after the last catch block.When a finally block is
defined,this is guranteed to execute,regardless of whether
or not an exception is thrown.used in house-keeping
operations like closing files and releasing system
resources.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can extern variables be initialized?

954


What is the ==?

891


Why string is not thread safe?

1010


what are different ways in which a thread can enter the waiting state? : Java thread

968


What is application tier?

1122


what is meant by HQL?

1071


What environment variables are required to be set on a machine in order to run Java programs?

1198


What are the topics in advance java?

970


How would you format a date in java? I.e. In the ddmmyyy format?

1381


How do I compare two strings in word in java?

991


What is the difference between member variables initialization and assignment in a constructor?

1281


How do you change an int to a string?

1013


Explain jvm, jre, and jdk?

1017


What is the integer of 16?

976


What is return used for in java?

1027