APPLICATION LAYER
SOCKET INTERFACE PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following are the methods available in ServerSocket class?
|
accept()
|
|
close()
|
|
OutputStream()
|
|
InputStream()
|
Explanation:
Detailed explanation-1: -close() − This method will close the socket. socket. gethostname() − This method will return the name of the host.
There is 1 question to complete.