Q.

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 extending the definition of the exception class you creat
Answer» B. The exception class that you define extends either the class Throwable or one of its subclasses.
1.9k
0
Do you find this helpful?
10

View all MCQs in

Java Programming

Discussion

No comments yet