62.3k views
3 votes
Suppose that statement3 throws an exception of type Exception3 in the following statement:

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. statement1
b. statement4
c. statement5
d. statement2
e. statement3

1 Answer

0 votes

Answer:

After statement3 is executed, statement4 and statement5 will be executed.

User Joris Limonier
by
7.7k points