Which of the following statements is true?

a. Using existing exceptions makes the program less robust.
b. Always create your own exception classes.
c. Like any other class, an exception class can contain fields and methods.
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...

The replacement operation combines removal and insertion into a single operation.

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

Computer Science & Information Technology

?Creating a sequence of ordered, executable, unambiguous steps for which halting criteria exists and which leads to a problem solution is the computational thinking tool _____.

A. ?abstraction B. ?decomposition C. ?algorithmic design D. ?pattern recognition

Computer Science & Information Technology

Construct an argument as to why indirect communication may be appropriate in volatile environments. To what extent can this be traced to time uncoupling, space uncoupling or indeed a combination of both?

What will be an ideal response?

Computer Science & Information Technology

The ________ tab contains the properties including the field source and the properties that affect the values that can be entered into a field

A) All B) Event C) Data D) Format

Computer Science & Information Technology