Which class is used by server applications to obtain a port and listen for client requests?
Answer Posted / Kirti Agarwal
"Socket"; The Socket class in Java is used by the server application to establish a connection with the client. The ServerSocket class can be used to listen for incoming connections.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a constructor overloading in java?
What is parsing in java?
Differentiate between static and non-static methods in java.
What are the differences between heap and stack memory in java?
Write a program to print count of empty strings in java 8?
How to create a base64 decoder in java8?
What is a classloader in java?
How to sort array in descending order in java?
Explain public static void main(string args[]) in java.
Is minecraft 1.15 out?
What do you mean by an interface in java?
Write a program to find the whether a number is an Armstrong number or not?
explain different ways of using thread? : Java thread
What is java string pool?
Realized?