McqMate
| Q. |
The client requests a connection to a server 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» A. Socket s = new Socket(ServerName, port); | |
View all MCQs in
Advanced JAVANo comments yet