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.
Answer: B
You might also like to view...
The ticket contains the user’s ID, the server’s ID, a __________, a lifetime after which the ticket is invalid, and a copy of the same session key sent in the outer message to the client.
Fill in the blank(s) with the appropriate word(s).
The crosshair icon determines the point of origin automatically only when you enter values directly into the Control panel.
Answer the following statement true (T) or false (F)