Solved

When Writing a Method, Which of the Following Statements About

Question 83

Multiple Choice

When writing a method, which of the following statements about exception handling is true?


A) The throws clause must list all checked exceptions that this method may throw, and may also list unchecked exceptions.
B) The throws clause must list all unchecked exceptions, and may also list checked exceptions that this method may throw.
C) The throws clause must list all checked exceptions, but cannot list unchecked exceptions.
D) The throws clause must list all unchecked exceptions, and cannot list checked exceptions.

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