An exception is propagated

a) From a place where the error occurs to the handler in the catch block.
b) From the throw statement buried in the try block to the handler in the catch block.
c) From a throw statement, not in a try block to the handler in the catch block.
d) From the catch block to the try block.
e) From the handler in the throw block to the try block.


b) From the throw statement buried in the try block to the handler in the catch block.

Part a) is incomplete. Is the point of error in a try block? Does it throw an exception? Part c) A catch block cannot catch an exception that is thrown outside a try block. Part d) is backwards, and is incomplete. Part e) is little more than noise. There is no such thing as a “throw” block, and the try block contains throw statements, it catches nothing.

Computer Science & Information Technology

You might also like to view...

____ graphic files in the GIF format have the file extension .gif.

A. Bitmap B. Vector C. Indexed D. Concatenated

Computer Science & Information Technology

Which command-line tool can create and modify the partition table provided by Linux?

A. mount B. fsck C. fdisk D. mkfs

Computer Science & Information Technology

A program that runs in the browser to add interactive content to the Web page is called a(n):

A) thread B) post C) script D) pop-up

Computer Science & Information Technology

The following figures define the typical operating parameters of a processor.



If the clock rate could be reduced by 15%, it would require only 2 cycles to perform a register load. Would that be a good idea?

Computer Science & Information Technology