Can multiple catch blocks be executed?
Answer Posted / senthil kumar
No.We may have the multiple catch block.Every catch block
has the different exception.when code found any error
suitable exception will be fired.but only one catch block
executed.
| Is This Answer Correct ? | 20 Yes | 1 No |
Post New Answer View All Answers
What is disconnected data architecture in c#?
What is function and method in c#?
Is and as keyword in c# net?
Are there constructors in c sharp?
Why is c# used?
Can a dictionary have the same key?
What are namespaces, and how they are used?
What is a string c#?
What are extension methods and where can we use them?
What are the differences between static, public and void in c#?
What is the difference between a method and a property?
Why are dynamic link library used over static one?
Explain the use of virtual, sealed, override, and abstract method?
What is the difference between a constant and a static readonly field?
List out two different types of errors in c#?