Can multiple catch blocks be executed?
Answer Posted / kumarraju
Not Executed Multiple catch blocks, exception raised then
corresponding catch block only executed, after that finally
block executed. In case Exception is not raised then
finally block executed.
why you are writing multiple catch blocks than
one catch blocks?
Ans: you does not know what the exception raise, then you
are excepting some exceptions thats only you write multiple
catch blocks.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is a generic class?
Suppose two interfaces have same method, so how will you implement these methods in derive class?
How can you reference current thread of the method ?
What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to
What is the process of Serialization?
Which controls do not have events?
What do u mean by delegation of authority?
What is literal control
List the fundamental oop concepts?
what are some characteristics of an array?
Is python easier than c#?
What is the difference between interface and functional interface?
Why do we need constructor?
Where do I put dll files?
What are the uses of namespaces?