Skip to content
Sharp

Networking · interview question

In Java socket programming, what is the role of a two-way communication endpoint?

Multiple choiceHardchapter-11-curatedpremiumnetworkingsocket-programming
Choose one answer
Answer and explanation

Correct answer

B. To allow data to be sent and received simultaneously

Why

A two-way communication endpoint in socket programming allows for data to be sent and received simultaneously, enabling full-duplex communication between client and server. This is crucial for real-time applications where bidirectional data flow is necessary.

Test yourself on Networking

A free test with instant, explained results. No account needed.

Start free test
All Networking questions →