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:

Verified
Correct Answer:
Verified
Related Questions
Q30: Which HTTP command supplies input to a
Q31: The _ is a complex collection of
Q32: What does the acronym POP stand for?<br>A)Point
Q33: The first time you open a certain
Q34: A page not found has status code
Q36: A successful response has status code _.<br>A)200
Q37: When you communicate with a mail server,
Q38: To connect to the HTTP port (80)
Q39: For the server to execute the run
Q40: Which of the following is not an