Solved

To Retrieve the Response Code from a URLConnection Object, You

Question 35

Multiple Choice

To retrieve the response code from a URLConnection object, you need __________________.


A) to cast the HttpURLConnection object to the URLConnect subclass.
B) to cast the URLConnection object to the HttpURLConnect subclass.
C) to use the getInputStream() method.
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