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

Where and how can you use a private constructor?

971


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

909


What is thread life cycle in java?

1047


What is main method?

1026


What is thread start?

942


What are the features of java?

1053


Name four container classes.

973


What are the benefits of operations in java?

1022


Can vector have duplicates in java?

924


Can we have multiple public classes in a java source file?

1160


What are the different types of java?

1040


What is ++ a in java?

957


What is the size of string?

1067


What do you understand by the term wrapper classes?

989


What is break and continue statement?

1069