Which of the following statements about try blocks is true?

a) The try block must be followed by at least one catch block.
b) The try block must be followed by a finally block.
c) The try block should contain statements that may process an exception.
d) The try block should contain statements that may throw an exception.

d) The try block should contain statements that may throw an exception.

Computer Science & Information Technology

You might also like to view...

Landscape and portrait are types of page orientation

Indicate whether the statement is true or false

Computer Science & Information Technology

The statements that a programmer writes in a high-level language are called __________.

a. binary code b. pseudocode c. source code d. processor code

Computer Science & Information Technology