Examveda

What is the primary use of the `DatagramSocket` class in Java Networking?

A. To send and receive datagrams over a connectionless UDP protocol

B. To establish a secure socket connection

C. To handle HTTP requests

D. To serialize objects

Answer: Option A


This Question Belongs to Java Program >> Java Serialization And Networking

Join The Discussion

Related Questions on Java Serialization and Networking

What is Java Serialization?

A. The process of converting an object into a byte stream

B. The process of converting a byte stream into an object

C. The process of converting an object into a text file

D. The process of converting a text file into an object