1.

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

Answer»

Correct answer is (a) GETDATA()

EASIEST explanation: NONE.



Discussion

No Comment Found

Related InterviewSolutions