Multiple Choice
If the code in a method can potentially throw a checked exception, then that method must:
A) handle the exception
B) have a throws clause listed in the method header
C) neither A nor B
D) either A or B
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q24: When an exception is thrown by a
Q34: The IllegalArgumentException class extends the RuntimeException class,
Q36: If the program does not handle an
Q37: Look at the following code: FileInputStream fstream
Q38: Assume that the classes BlankISBN, NegativePrice, and
Q40: When you write a method that throws
Q41: The ability to catch multiple types of
Q42: Beginning in Java 7, multi-catch can reduce
Q43: The numeric classes' "parse" methods all throw
Q44: If, within one try statement you want