To catch an exception, the code that might throw the exception must be enclosed in a ________.

a. throws block.
b. catch block.
c. try block.
d. finally block.


c. try block.

Computer Science & Information Technology

You might also like to view...

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

1. The keyword static is used in a static function declaration in a class but not in the function definition. 2. Vector assignment is well behaved. 3. The functions or data members declared in the private: section of a class can be accessed only in the definition those functions declared in that class. Note that friend functions are also declared (but not defined) in the class to which they are friends, so they also have access to private as well as public members. 4. The set of integers ranging from -MAXINT to MAXINT make up the int data type.

Computer Science & Information Technology

You can convert existing text to WordArt

Indicate whether the statement is true or false

Computer Science & Information Technology

____________________ virtualization allows you to divide a single network into multiple channels or bandwidths so that the network appears as multiple networks.

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

Computer Science & Information Technology

Which of the following would you use when you want a user to be able to select more than one choice?

A. A Combo Box field type B. A Radio Button field type C. A List Box field type D. A Check Box field type

Computer Science & Information Technology