Vidyalelo
Java Programming · Q16

Java Serialization and Networking

Programming · Java Programming · question 16

Q16

In Java Networking, what is the purpose of the `DatagramPacket` class?

A.
To handle HTTP requests
B.
To represent a packet of data for use with UDP communication
Answer
C.
To serialize objects
D.
None of These

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board