Solved

Which of the Following Statements Is NOT True About Creating

Question 19

Multiple Choice

Which of the following statements is NOT true about creating your own exceptions?


A) Typically, constructors are the only methods that you include when you define your own exception class.
B) The exception class that you define extends either the class Throwable or one of its subclasses.
C) If you have created an exception class, you can define other exception classes by extending the definition of the exception class you created.
D) You must throw your own exceptions using the throw statement.

Correct Answer:

verifed

Verified

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

Related Questions