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

How do you stop a thread in java?

1111


Does google use java?

1015


What happens if we don’t override run method ?

1060


Explain about the performance aspects of core java?

1107


How can the checkbox class be used to create a radio button?

1079


What is use of static in java?

1238


What are the access modifiers in java?

1094


How will you add panel to a frame?

1163


how to create constants in java?

1126


Explain importance of finally block in java?

1081


Explain illegalmonitorstateexception and when it will be thrown?

1155


Why are constructors used?

1072


What is r * in math?

1041


What is arrays fill in java?

1060


What is the difference between normal report & matrix report?

1159