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...

Press the ________ key to delete characters to the left of the insertion point

Fill in the blank(s) with correct word

Computer Science & Information Technology

The boot partition and the system partition can be the same partition with Windows 7, 8, or 10

Indicate whether the statement is true or false

Computer Science & Information Technology