McqMate
Q. |
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); |
Answer» B. Socket s = serverSocket.accept() |
View all MCQs in
Advanced JAVANo comments yet