Question: 9 ) If , within one try statement you want to have catch clauses of the following types, in which order should they appear in

9) If, within one try statement you want to have catch clauses of the following types, in which order should they
appear in your program?
(1) Exception
(2) IllegalArgumentException
(3) RuntimeException
(4) Throwable
A)2,3,1,4
B),1,3,2
C)1,2,3,4
D)3,1,2,4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!