How many catch blocks can be there for a single try block?
Answer Posted / gladiator
There can be any number of catch block for a single try
block.
However only the catch block encountered first on the call
stack that satisfies the condition for the exception will
be executed for that particular exception, rest will be
ingnored.
| Is This Answer Correct ? | 69 Yes | 4 No |
Post New Answer View All Answers
What is uint64_t?
What is the default value of object in c#?
Can you use all access modifiers for all types?
Tell us something about static linking and dynamic linking?
Why do you need boxing in c#?
What are access modifiers in c#?
What is string interpolation in c#?
What are virtual destructors?
What is the and operator in c#?
Why hashtable is thread safe in c#?
Distinguish between finally and finalize blocks?
What is difference between int and int in c#?
What is c# windows form application?
What is the meaning of console writeline in c#?
What is the use of console application in c#?