Solved

If, Within One Try Statement You Want to Have Catch

Question 3

Multiple Choice

If, within one try statement you want to have catch clauses that catch exceptions of the following types, in which order should they appear in your program?
(1) Throwable
(2) Exception
(3) RuntimeException
(4) NumberFormatException


A) 4, 3, 2, 1
B) 2, 3, 1, 4
C) 4, 1, 3, 2
D) 3, 1, 2, 4

Correct Answer:

verifed

Verified

Related Questions