Solved

If the Current Method in a Program Will Not Be

Question 74

Multiple Choice

If the current method in a program will not be able to handle an exception, what should be coded into the method?


A) The throws clause should list the name of the method to which the exception should be passed.
B) The method declaration should be enclosed in a try/catch block.
C) The method should include a try/catch block for all possible exceptions.
D) The throws clause should list the names of all exceptions that the method will not handle.

Correct Answer:

verifed

Verified

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

Related Questions