单项选择题

用UDP套接字通信时,常用哪个类把要发送的信息打包?()

A.String
B.DatagramSocket
C.MulticastSocket
D.DatagramPacket