

McqMate
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. |
View all MCQs in
Java ProgrammingNo comments yet