Solved

To Retrieve the Response Code and Message from an HttpURLConnection

Question 25

Multiple Choice

To retrieve the response code and message from an HttpURLConnection object, you need __________________.


A) to use the getInputStream() method.
B) to use the getURLConnection() method.
C) to use the getResponseCode() and getResponseMessage() methods.
D) to use the getCodeResponse() method.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions