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
What is the difference between const and static read-only?
What is .cshtml file?
What is console readkey in vb net?
Are cao stateful in nature?
What exactly is serverless?
Why objects are stored in heap in c#?
What is system predicate?
HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only
What are the applications of c#?
Where do I put dll files?
Illustrate serialization?
What is namespace in oop?
Can structs in c# have destructors?
What is cosole application?
What is datarelation c#?