Home » JAVA Programming » Networking » Question
  1. Which of these class must be used to send a datagram packets over a connection?
    1. DatagramSocket
    2. InetAdress
    3. DatagramPacket
    4. All of above
    5. 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.



Your comments will be displayed only after manual approval.