Can two catch blocks be executed?

Answer Posted / pompana gouda

Close this question.

Correct answer is:

If a finally block contains a try catch block where in
exceptions can occur. In that case exception in the main
try catch block and the exceptions in finally block will
also be thrown.

In the above case not only two catch blocks we can execute
many(N) number of catch blocks.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between static class and singleton instance?

523


My switch statement works differently! Why?

514


What are static and dynamic variables?

648


Are there constructors in c sharp?

571


Is c# and c same?

507






What is anonymous types in c#?

504


Difference between value and reference type.

513


What does mean before a string in c#?

520


What is double c#?

532


What is dynamic in c#?

469


how background thread access to ui control?

591


How many bytes is a long c#?

463


What are the 2 broad classifications of fields in c#?

537


How does bubble sort work?

508


What is public void in c#?

511