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)- A12% (3)
- B4% (1)
- C76% (19)
- D8% (2)
Community Discussion
No community discussion yet for this question.