True or False When the following program block is run if sta
True or False: When the following program block is run, if statement2 throws Exception2 that is caught by the second catch block, then statement4 will be executed?
True or False: When the following program block is run, if statement2 throws Exception3 that is not caught by either catch block, then statement4 will be executed?
Solution
1)false because if statement 2 throws exception2 then the catch block will hold it so in this case statement 4 won\'t get executed. 2)true because if statement 2 throws exception3 then statement 4 will get executed.
