Solved

If the Current Method in a Program Will Not Be

Question 82

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 method should include a try/catch block for all possible exceptions.
B) The method declaration should be enclosed in a try/catch block.
C) The throws clause should list the name of the method to which the exception should be passed.
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

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