What happens in a method if there is an exception thrown in a try block but there is no catch block following the try block?

A. The program ignores the exception.
B. The program will not compile without a complete try/catch structure.
C. The program terminates immediately.
D. The program throws an exception and proceeds to execute the finally block.


Answer: D

Computer Science & Information Technology

You might also like to view...

Most physical security plans are developed separately from the planning that defines the activities of the information security process.

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

Computer Science & Information Technology

The ____ operator returns the smallest value in the group.

A. Max B. Smallest C. Min D. Minimum

Computer Science & Information Technology

_____________ provides a comprehensive solution for managing Microsoft operating systems in a virtualization environment.

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

Computer Science & Information Technology

To view report data while making changes to a report, use:

A) Design view. B) Datasheet view. C) Layout view. D) Report view.

Computer Science & Information Technology