要创建一个发送数据的数据报,应使用以下哪个构造器:
A.
DatagramPacket(byte[] buff,int length,InetAddress address,int port)或DatagramPacket(byte[] buff,int offset,int length,InetAddress address,int port)
B.
DatagramPacket(byte[] buff,int length,InetAddress address,int port)或DatagramPacket(byte[] buff,int offset,int length)
C.
DatagramPacket(byte[] buff,int length)或DatagramPacket(byte[] buff,int offset,int length,InetAddress address,int port)
D.
DatagramPacket(byte[] buff,int length)或DatagramPacket(byte[] buff,int offset,int length)