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 or b
D) Either a or b
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q5: What will be the result of the
Q7: In order for an object to be
Q17: Unchecked exceptions are those that inherit from:<br>A)
Q23: If the IOData.dat file does not exist,
Q33: To write data to a binary file
Q37: Assume that the classes BlankISBN,NegativePrice,and NegativeNumberOrdered are
Q40: When you write a method that throws
Q41: In a try/catch construct, after the catch
Q43: If you want to append data to
Q53: An exception's default error message can be