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

Streaming is a delivery method that plays music or displays video in real time as it arrives from the Web to your computer.

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

Computer Science & Information Technology

In U.S. copyright law, the term ____ is used for all creators, including choreographers, architects, and so on.

A. utility B. author C. creator D. progenitor

Computer Science & Information Technology