Solved

What Is Recommended If the Standard Library Does Not Have

Question 86

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions