Home » JAVA Programming » Networking » Question
  1. Which of these data member of HttpResponse class is used to store the response from an http server?
    1. statusResponse
    2. statusCode
    3. address
    4. status
    5. None of these
Correct Option: B

When we send a request to an http server it responds with a status code this status code is stored in statusCode and a textual equivalent which is stored in reasonPhrase.



Your comments will be displayed only after manual approval.