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:

Verified
Correct Answer:
Verified
Q1: Assume that inputFile is a Scanner object
Q2: Which of the following statements about using
Q3: Insert the missing code in the following
Q4: Consider the following code snippet: try<br>{<br>PrintWriter outputFile
Q6: Which of the following statements about exception
Q7: Insert the missing code in the following
Q8: Your program will read in an existing
Q9: Which Java class implements a file dialog
Q10: What is the purpose of the throw
Q11: Consider the following code snippet: Scanner in