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 checked exceptions, but cannot list unchecked exceptions.
C) The throws clause must list all unchecked exceptions, and cannot list checked exceptions.
D) The throws clause must list all unchecked exceptions, and may also list checked exceptions that this method may throw.
Correct Answer:

Verified
Correct Answer:
Verified
Q35: Consider the following code snippet:<br>PrintWriter out =
Q36: Which of the following patterns should be
Q37: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q38: Insert the missing code in the following
Q39: What is the purpose of the throw
Q41: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q42: Select an expression to complete the program
Q43: Which of the following is the correct
Q44: Which of the following statements about using
Q45: Assume inputFile is a Scanner object used