in Programming
425 views
0 votes
0 votes
A default catch block catches,

[A]. all thrown objects

[B]. no thrown objects

[C]. any thrown object that has not been caught by an earlier catch block

[D]. all thrown objects that have been caught by an earlier catch block
in Programming
by
425 views

2 Answers

1 vote
1 vote
Best answer
Is answer  c
selected by

4 Comments

No I don't think so. The control goes to the catch block when first Exception is thrown. Subsequent throw lines will not be executed.
0
0
Got it

Thanks
1
1
Thank you for explaining.
0
0
0 votes
0 votes
Option (A): All thrown objects