nerdexam
GIAC

GSSP-JAVA · Question #185

Which of the following statements is used to enclose a block of code in which an exception is likely to occur?

The correct answer is E. try. See the full explanation below for the reasoning.

Question

Which of the following statements is used to enclose a block of code in which an exception is likely to occur?

Options

  • Abreak
  • Bfinally
  • Cassert
  • Ddo
  • Etry
  • Fcatch

How the community answered

(21 responses)
  • C
    10% (2)
  • D
    5% (1)
  • E
    86% (18)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice