单选题:Suppose that statement3 throws an exception of type Exception3 i
Suppose that statement3 throws an exception of type Exception3 in the following statement: @[C](2)
try {
statement1;
statement2;
statement3;
}
catch (Exception1 ex1)
{
}
catch (Exception2 ex2)
{
}
catch (Exception3 ex3)
{
statement4;
throw;
}
statement5;
Which statements are executed after statement3 is executed?
A. statement2
B. statement3
C. statement4
D. statement5
A.statement2
B.statement3
C.statement4
D.statement5
答案:C
try {
statement1;
statement2;
statement3;
}
catch (Exception1 ex1)
{
}
catch (Exception2 ex2)
{
}
catch (Exception3 ex3)
{
statement4;
throw;
}
statement5;
Which statements are executed after statement3 is executed?
A. statement2
B. statement3
C. statement4
D. statement5
A.statement2
B.statement3
C.statement4
D.statement5
答案:C