Skip to content
Sharp

Networking · interview question

Why does a Socket in Java networking matter in practice?

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

Correct answer

B. To facilitate communication between two machines

Why

A Socket in Java is used to establish a connection between two network endpoints, allowing for communication between two machines over a network.

Test yourself on Networking

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

Start free test
All Networking questions →