Solved

Suppose a Try Block Needs to Be Followed by Two

Question 14

Multiple Choice

Suppose a try block needs to be followed by two catch blocks,each catching a different exception.Which exception should be caught first?


A) The exception that is more likely to occur
B) The exception that is more general
C) The exception that is more specific
D) It does not matter in what order exceptions are caught

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents