在UDP协议通信时,用于发送数据包的类是( )


在UDP协议通信时,用于发送数据包的类是( )

A.DatagramPacket

B.ServerSocket

C.Socket

D.DatagramSocket

正确答案是A