1.

Which of these class must be used to send a datagram packets over a connection?(a) InetAdress(b) DatagramPacket(c) DatagramSocket(d) All of the mentioned

Answer» The correct option is (d) All of the mentioned

Explanation: By using 5 classes we can send and receive data between client and server, these are InetAddress, Socket, ServerSocket, DatagramSocket, and DatagramPacket.


Discussion

No Comment Found

Related InterviewSolutions