When you create your own exceptions by inheriting from a built-in Exception class, you gain access to methods contained in the ____________________ class, such as those that display a default message describing an exception and that display the stack trace.

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


super

Computer Science & Information Technology

You might also like to view...

Define a class named Employee whose objects are records for employees. Derive this class from the class Person given in Listing 8.1. An employee record inherits an employee’s name from the class Person. In addition, an employee record contains an annual salary represented as a single value of type double, a hire date that gives the year hired as a single value of type int, and an identification number that is a value of type String. Give your class a reasonable complement of constructors, accessor methods, and mutator methods, as well as an equals method. Write a program to fully test your class definition.

This project should be pretty straightforward. The solution shown here has nine constructors, including a default that specifies nothing. Since it did not seem reasonable to have salary, hire date or social security numbers without a name, the remaining constructors all require at least the name to be specified. Note the use of methods from the base class, Person. For example, super.writeOutput()is used to write just the name (and avoid using the local version in Employee that writes out all the parameters).

Computer Science & Information Technology

In a bus topology, data travels along a single cable that is terminated at both ends

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following steps are NOT needed to for exception handling?

A. Code your own routine B. Create application-specific exceptions C. Add debug statements D. Manage the views

Computer Science & Information Technology

A(n) ____________________ list is a series of paragraphs, each beginning with a bullet character.

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

Computer Science & Information Technology