-
Which of these class must be used to send a datagram packets over a connection?
-
- DatagramSocket
- InetAdress
- DatagramPacket
- All of above
- None of these
Correct Option: D
By using 5 classes we can send and receive data between client and server, these are InetAddress, Socket, ServerSocket, DatagramSocket, and DatagramPacket.