Suppose that statement2 causes an exception in the following try-catch block:
try
{
statement1;
statement2;
statement3;
}
catch (Exception1& ex1)
{
}
catch (Exception2& ex2)
{
}
Statement 4;
Answer the following questions:
■ Will statement3 be executed?
■ If the exception is not caught, will statement4 be executed?
■ If the exception is caught in the catch block, will statement4 be executed?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.