Which of the following statements is true?

a. Using existing exceptions makes the program less robust.
b. Always create your own exception classes.
c. An exception class is like any other class; however, a typical new exception class contains no members other than four constructors.
d. The new exception class should extend RuntimeException if the program should be required to handle the exception.

c. Like any other class, an exception class can contain fields and methods.

Computer Science & Information Technology

You might also like to view...

A string variable is always conditional

Indicate whether the statement is true or false

Computer Science & Information Technology

Which Lasso tool is best for selecting areas of the canvas that are geometric in shape?

A. Lasso B. Magnetic Lasso C. Elliptical Lasso D. Polygonal Lasso

Computer Science & Information Technology