nerdexam
GIAC

GSSP-JAVA · Question #195

Which of the following keywords is used to throw an exception object inside a method?

The correct answer is A. throw. See the full explanation below for the reasoning.

Question

Which of the following keywords is used to throw an exception object inside a method?

Options

  • Athrow
  • Bcatch
  • Cfinal
  • Dthrows
  • Efinally
  • Fassert

How the community answered

(35 responses)
  • A
    80% (28)
  • C
    11% (4)
  • E
    6% (2)
  • F
    3% (1)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice