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 two catch blocks be executed?

Answer Posted / awadhesh

For a given set of try catch only one exception block will
get executed. Notice in finally what you are having is a
new set of try catch statements. They are unrelated to the
one above , so it is wrong to say here that two catch
blocks were executed.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between private, protected, and public in C#?

1006


What operator means?

845


what is difference between destruct or and garbage collection ?

888


Is concurrent queue thread safe?

859


Can abstract class instantiated c#?

851


What is generic types in c#?

885


Can abstract classes be final?

903


What is whitespace in c#?

1025


What is a .aspx file?

828


What are Namespaces?

1276


Can we have only “try” block without “catch” block in c#?

816


What is dll hell, and how does .net solve it?

920


What is .net console?

945


What is namespace c#?

884


What does protected internal access modifier mean?

1048