0 votes
in JAVA by

Which class is used to represent a datagram 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: c) DatagramSocket

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

Related questions

0 votes
asked Oct 3, 2021 in Information Technology by Robin
0 votes
asked May 9 in JAVA by rahuljain1
...