0 votes
in JAVA by

Which class is used to represent a socket for communication between two computers over a network in Java?

a) ServerSocket

b) Socket

c) DatagramSocket

d) MulticastSocket

1 Answer

0 votes
by
Solution: b) Socket

Explanation: The Socket class is used to represent a socket for communication between two computers over a network in Java.
...