To handle an exception, a program must “wrap” the potential exception-throwing statement(s) in a statement called a(n) ____ block.

A. exception
B. try-catch
C. throw
D. test


Answer: B

Computer Science & Information Technology

You might also like to view...

An enumeration type

a) is type whose values are defined by a list of constants of type int. b) is a type separate from any of the integer types c) can be converted to integer types d) is a type that a programmer should avoid doing arithmetic with.

Computer Science & Information Technology

To count words, click the Word Count indicator on the Home tab to display the Word Count dialog.

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

Computer Science & Information Technology

By default, slides in a new presentation are in ____ orientation.

A. right to left B. landscape C. top to bottom D. portrait

Computer Science & Information Technology

Explain the notion of friendship. Explain the negative aspects of friendship as described in the text.

What will be an ideal response?

Computer Science & Information Technology