Solved

The Server Listens for a Connection Request from a Client

Question 10

Multiple Choice

The server listens for a connection request from a client using which of the following statement?


A) Socket s = new Socket(ServerName, port) ;
B) Socket s = serverSocket.accept()
C) Socket s = serverSocket.getSocket()
D) Socket s = new Socket(ServerName) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions