Solved

What Is Recommended If the Standard Library Does Not Have

Question 104

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents