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:
Verified
Q56: For test protocols, turn the socket streams
Q57: _ objects are used for communication (IO)
Q58: The _ class makes it easy to
Q59: Which HTTP command supplies input to a
Q60: A thread dies _
A)when the client quits
Q62: To close a connection, which of the
Q63: What does TCP/IP stand for?
A)Transmission Control and
Q64: A successful response has status code _.
A)200
Q65: What does the following if statement do?
if
Q66: When you communicate with a mail server,
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents