Multiple Choice
What is recommended if the standard library does not have an exception class that describes your particular error situation?
A) Design your own exception class as a subclass of an existing exception class.
B) Choose RunTimeException from the standard library because it is unchecked and represents a generic exception.
C) Design your own exception class by implementing the Throwable interface.
D) Design your own exception class as a superclass of an existing exception class.
Correct Answer:

Verified
Correct Answer:
Verified
Q81: Which of the following statements about the
Q82: When reading words with a Scanner object,
Q83: Assuming that the string input contains the
Q84: Select the missing expression in the code
Q85: Consider the following code snippet.<br>Scanner inputFile =
Q87: Which of the following statements about a
Q88: Consider the following code snippet.<br>Scanner inputFile =
Q89: Which of the following is the correct
Q90: The PrintWriter class is an enhancement of
Q91: Assume inputFile is a Scanner object used