In Java Networking, what is the purpose of the `Socket` class?
A. To create a client socket for communication with a server
B. To create a server socket for listening to client connections
C. To create a thread for concurrent execution
D. To handle exceptions in networking
Answer: Option A
Join The Discussion