Which class is used to create a server-side socket that waits for client requests?

  • Server
  • ServerSocket
  • SocketListener
  • SocketServer
In Java, the ServerSocket class is used to create a server-side socket that listens for incoming client requests. It's an essential part of building network servers. The other options do not represent the correct class for this purpose.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *