CAN MULTIPLE CATCH BLOCKS BE EXECUTED?

Anchal Kesharwani

Total Post:15

Points:75
Posted by  Anchal Kesharwani
.NET  C# 
C#
 866  View(s)
Ratings:
Rate this:
  1. Anchal Kesharwani

    Post:15

    Points:75
    Can multiple catch blocks be executed?

    No, Multiple catch blocks can’t be executed. Once the proper catch code executed, the control is transferred to the finally block and then the code that follows the finally block gets executed.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!