A

Admin • 828.70K Points
Coach

Q. The client requests a connection to a server using which of the following statement?

  • (A) Socket s = new Socket(ServerName);
  • (B) Socket s = serverSocket.getSocket();
  • (C) Socket s = serverSocket.accept();
  • (D) Socket s = new Socket(ServerName, port);
  • Correct Answer - Option(D)
  • Views: 11
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.