Which of these method of DatagramPacket is used to obtain the byte array of data contained in a datagram?
(a) getData()
(b) getBytes()
(c) getArray()
(d) recieveBytes()
The question was asked at a job interview.
The question is from Networking in portion Serialization & Networking of Java