A catch block can catch how any types of Exception?

A. An unlimited number of Exception types.
B. Only one can be caught.
C. As many as can be matched.
D. Two, after which the program ends.


Answer: B

Computer Science & Information Technology

You might also like to view...

Constraining a type parameter in a generic class

A) causes programs to compile faster B) was added to Java in version 1.3 of the language C) can only be used when the generic class will be used as a superclass for other classes D) restricts the types that can be used as type arguments

Computer Science & Information Technology

Use the Repository feature to view the entry for the central process.

What will be an ideal response?

Computer Science & Information Technology

Evidence uncovered during an illegal search will be dismissed as a result of the exculpatory rule

a. True b. False

Computer Science & Information Technology

Classification categories must be __________ and mutually exclusive.

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

Computer Science & Information Technology