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

How many catch blocks can be there for a single try block?

Answer Posted / d.s naidu

Single try block can handle multiple catch blocks.Let
assume if you have 4 catch blocks for a single try block.
while excuting/debugging the code, if the exception raises
that will go the appropriate catch block and resolve the
problem by the programmer. the remaining 3 catch blocks
will raise , if those really having the exception as per
the code logic

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

1902


What is a delegate? How can it works?

1122


What do you mean by stack and heap in c#?

912


Can we have multiple threads in one app domain?

942


what is a constructor? What is a destructor?

973


What are static and dynamic variables?

1135


Why do we use namespace in c#?

931


What is ildasm and obfuscator in net?

946


What is verbatim string?

920


How we convert private assembly into public assembly?

949


What is a sealed class?

921


What are synchronous and asynchronous operations?

967


How to use nullable types in .net?

988


Is it possible to inherit multiple interfaces?

994


Why do we need delegates?

863