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

What is a generic class?

971


Suppose two interfaces have same method, so how will you implement these methods in derive class?

989


How can you reference current thread of the method ?

964


What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to

962


What is the process of Serialization?

995


Which controls do not have events?

1029


What do u mean by delegation of authority?

951


What is literal control

1021


List the fundamental oop concepts?

901


what are some characteristics of an array?

959


Is python easier than c#?

951


What is the difference between interface and functional interface?

1055


Why do we need constructor?

921


Where do I put dll files?

1012


What are the uses of namespaces?

1019