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

Why do we need a finally block in try catch block while
handling exceptions

Answer Posted / vijay kumar inumella

finally block will be executed irrespective of whether
the exception occured or not.
finally block is generally used to close the database
connections and to dispose the session objects etc.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the following code legal?

974


Why abstract class can not be instantiated?

874


Value Type and Reference Type Data type in C#?

963


Define constructor in c#.

908


What is datatable and dataset in c#?

1003


Why do we use hashtable in c#?

965


What are extender provider components?

898


How do you access a constant field declared in a class?

910


Describe the difference between inline and code behind - which is best?

1121


What is string literal in c#?

1098


What is the purpose of reserved word using in c#?

947


What is func c#?

996


Explain the security with aop?

1063


Which programming language is best for desktop applications?

941


What is null in database?

888