Which of these class must be used to send a datagram packets over a connection?

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: d
Explanation: By using 5 classes we can send and receive data between client and server, these are InetAddress, Socket, ServerSocket, DatagramSocket, and DatagramPacket.
 

Tìm kiếm

Back
Top