Which class is used to create a server-side socket that waits for client requests?
- Server
- ServerSocket
- SocketListener
- SocketServer
In Java, the ServerSocket class is used to create a server-side socket that listens for incoming client requests. It's an essential part of building network servers. The other options do not represent the correct class for this purpose.
Loading...
Related Quiz
- What is the key difference in approach between the Merge Sort and Quick Sort algorithms?
- ________ is an interface providing thread safety without introducing concurrency overhead for each individual read/write operation.
- Why does Java not support operator overloading?
- Which arithmetic operator is used to perform exponentiation in Java?
- If a method in an interface is declared without an access modifier, it is implicitly ________.