πŸ“Š JAVA
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);
πŸ’¬ Discuss
βœ… Correct Answer: (D) Socket s = new Socket(ServerName, port);

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
201
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
84%
Success Rate