Multiple Choice
When you communicate with a web server to obtain data, you have two choices:
I. You can make a socket connection and send GET and POST commands.
II. You can make a server connection and send GET and POST commands.
III. You can use the URLConnection class and have it issue the commands on your behalf.
IV. You can use the URL class and have it issue the commands on your behalf.
A) I and II
B) II and III
C) III and I
D) IV and II
Correct Answer:

Verified
Correct Answer:
Verified
Q16: Two kinds of data are transmitted between
Q17: The _ has one function, to attempt
Q18: The HTTP command OPTIONS _.<br>A)requests the item's
Q19: The HTTP command TRACE _.<br>A)traces the requested
Q20: Suppose you use the URLGet program in
Q22: Buffering the characters means:<br>A)characters are immediately sent
Q23: A _ is an object that encapsulates
Q24: _ has built-in provisions for retrying incomplete
Q25: To retrieve the response code and message
Q26: The _ method empties the buffer and