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

Computer Science & Information Technology

You might also like to view...

When administering CentOS 7, which ls command option can be added to view any hidden files?

A. -$ B. -h C. -a D. -r

Computer Science & Information Technology

When you work in Photoshop-and really work on a full-scale project-you must use manyskills in tandem to achieve your goal.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A Windows folder has been shared to Joe. Joe has been assigned the Full Control NTFS permission. Joe is part of a group called Staff, and the Staff users have been assigned the Modify NTFS permission to the same folder. What can Joe do to the files located in the shared folder?

A) Joe can do anything he wants. B) He can look at the files, read the files, and change the files, but he cannot delete any subfolders. C) Joe can look at the files in the shared folder. D) He can look at the files, but he cannot change or delete the files or create any new ones.

Computer Science & Information Technology

Referring to the figure below, please identify the letter of the choice that best matches the numbered area on the screen.

A. Element name B. Attribute name C. Attribute value D. Invalid code E. F. G. Span tag

Computer Science & Information Technology