MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is used by a client to establish a socket connection with the server? |
| A. | Socket s = ServerSocket.getsocket(); |
| B. | Socket s = ServerSocket.accept(); |
| C. | Socket s = ServerSocket(server Name, port); |
| D. | Socket s = ServerSocket.connect(); |
| Answer» D. Socket s = ServerSocket.connect(); | |