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 about accessibility modifier 'protected internal'?

997


What is difference between code access and role based security?

1065


What do u meant by "SBI" of an object?

980


Which string method is used for concatenation of two strings in c#?

1006


the c# keyword .int. Maps to which .net type?

1133


Is array a collection c#?

914


What is console application with example?

911


What the different phase/steps of acquiring a proxy object in webservice?

997


What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?

1038


What is polymorphism and its types in c#?

893


What is a delegate in c#?

932


What is difference between encapsulation and abstraction in c#?

953


Why do we use readonly in c#?

911


Can I use parseint?

883


What is string literal in c#?

1083