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...

For operators overloaded as non-static member functions:

a. Binary operators can have two arguments and unary operators can have one. b. Both binary and unary operators take one argument. c. Binary operators can have one argument, and unary operators cannot have any. d. Neither binary nor unary operators can have arguments.

Computer Science & Information Technology

The outcome of the ____ stage is always an in-depth, documented understanding of the functions the software will be required to perform.

A. design B. review C. specification D. implementation

Computer Science & Information Technology

What is a virtual account?

What will be an ideal response?

Computer Science & Information Technology

________ are the limits or restrictions placed on a Solver model.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology