Knowledge in Multiple catches with exception

Program to explain multiple catches.

In this program many catches are executed in a single try block. In Eve catch block throw occurs. Control selects the matching catch block . That matched catch block is executed. Then the control goes to the successive catch block to check it's matching.