Questions and Answers
What is the primary role of the java.net.Socket class in networking?
To open network connections to remote servers as a client
What is the primary purpose of the User-Agent header in HTTP?
To inform the server about the type of web browser the client is using
What is the meaning of the HTTP status code 401?
The client needs to login and provide credentials
What is the function of the resource part in an HTTP URL?
Signup and view all the answers
What is the purpose of the Set-Cookie header in HTTP?
Signup and view all the answers
What is the meaning of the HTTP status code 503?
Signup and view all the answers
What is the role of the client process in a client-server architecture?
Signup and view all the answers
What is the primary function of a server process in a network?
Signup and view all the answers
What is the purpose of the ServerSocket class in Java?
Signup and view all the answers
What is the purpose of the accept() method in a Java server program?
Signup and view all the answers
What is the main advantage of using JSON in data interchange?
Signup and view all the answers
What is the primary characteristic of JSON data?
Signup and view all the answers
What is a JSON array?
Signup and view all the answers
What is the purpose of a JSON library in Java?
Signup and view all the answers
What is a JSON document?
Signup and view all the answers