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

Relational expressions are also called ____.

A. options B. choices C. conditions D. paths

Computer Science & Information Technology

Access databases cannot be password protected.?

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

Computer Science & Information Technology