nerdexam
GIAC

GSSP-JAVA · Question #205

GSSP-JAVA Question #205: Real Exam Question with Answer & Explanation

The correct answer is B. NullPointerException. See the full explanation below for the reasoning.

Question

Which of the following exceptions will be thrown if the name parameter is null in the constructor of AuthPermission?

Options

  • AIllegalArgumentException
  • BNullPointerException
  • CClassNotFoundException
  • DIllegalStateException

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice