What are unchecked exceptions? Give an example.

What will be an ideal response?


Unchecked exceptions inherit from the Error class or the RuntimeException class. Although you can handle these exceptions in your programs, you are not required to do so. For example, dividing by zero is a type of RuntimeException, and you are not required to handle this exception-you can simply let the program terminate.

Computer Science & Information Technology

You might also like to view...

The algorithm for a story serves as the basis for creating an initial outline of the sequence of scenes and shots. 

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

Computer Science & Information Technology

The way text wraps around the WordArt is determined by the object's ________ setting

A) Live Layout B) text wrap C) size D) style wrap

Computer Science & Information Technology

A pre-installed report feature that provides a comprehensive summary of the computer's overall performance is called a:

A) Performance Analysis Report B) Stability Index Report C) Computer Maintenance Report D) System Diagnostics Report

Computer Science & Information Technology

Match the first part of the sentence with the last part of the sentence:

I. A print area II. Print order III. A table IV. A field V. A record A. is a complete set of data for an entity. B. is a set of formatted rows and columns of data. C. defines the range of data to print. D. is the sequence in which pages print. E. is an individual piece of data.

Computer Science & Information Technology