Question: Suppose that statement 2 may cause an exception in the following code: try { statement 1 ; statement 2 ; statement 3 ; } catch
Suppose that statement may cause an exception in the following code:try statement; statement; statement;catch Exception excatch Exception ex throw ex;finally statement;statement;Answer the following questions:a If no exception occurs, will statement or statement be executed?b If the exception is of type Exception will statement or statement be executedc If the exception is of type Exception will statement or statement be executedd If the exception is not Exception nor Exception will statement or statement be executed?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
