Suppose that statement2 causes an exception in the following statement:
try
{
statementl;
statement2;
statement3;
}
catch (Exception& exl)
{
}
catch (Exception2& ex2)
{
}
catch (Exception3& ex3)
{
Statement 4;
throw;
}
statement5;
Answer the following questions:
■ Will statement5 be executed if the exception is not caught?
■ If the exception is of type Exception3 , will statement4 be executed, and will statement5 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.