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

Can multiple catch blocks be executed?

Answer Posted / kumarraju

Not Executed Multiple catch blocks, exception raised then
corresponding catch block only executed, after that finally
block executed. In case Exception is not raised then
finally block executed.

why you are writing multiple catch blocks than
one catch blocks?
Ans: you does not know what the exception raise, then you
are excepting some exceptions thats only you write multiple
catch blocks.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between and xml documentation tag?

896


What is Covariance and contravariance in C#?

1040


What does char mean in c#?

918


What is the difference between Object and class adapters?

939


How do I register my code for use by classic com clients?

871


How to use session under class file of APP_Code folder?

994


What is the purpose of a constructor in c#?

867


What are logical operators in c#?

932


What is transparent caching with aop ?

1071


Can abstract class have parameterized constructor?

906


What is selector c#?

884


What does xpath return?

994


Wcf and what is difference between wcf and web services?

925


What is the syntax for calling an overloaded constructor within a constructor?

943


What is parsing? How to parse a date time string?

1022