Which class represents the socket that both the client and server use to communicate with each other?
Question : Which class represents the socket that both the client and server use to communicate with each other?
java.net.Socket class represents the socket that both the client and server use to communicate with each other.