GIAC
GSSP-JAVA · Question #171
Which of the following methods throws a SecurityException if the calling thread is not allowed to open a socket connection to the specified host and port number?
The correct answer is D. checkConnect(). See the full explanation below for the reasoning.
Question
Which of the following methods throws a SecurityException if the calling thread is not allowed to open a socket connection to the specified host and port number?
Options
- AcheckDelete()
- BcheckExec()
- CcheckCreate()
- DcheckConnect()
How the community answered
(31 responses)- A3% (1)
- B10% (3)
- C16% (5)
- D71% (22)
Community Discussion
No community discussion yet for this question.