nerdexam
GIAC

GSSP-JAVA · Question #28

Which of the following code is used to create an object of security manager?

The correct answer is C. SecurityManager appsm = System.getSecurityManager(). See the full explanation below for the reasoning.

Question

Which of the following code is used to create an object of security manager?

Options

  • ASecurityManager appsm = getClassContext();
  • BSecurityManager appsm = System.getSecurityDescriptor();
  • CSecurityManager appsm = System.getSecurityManager();
  • DSecurityManager appsm = getSecurityContext();

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    4% (1)
  • C
    76% (19)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice