Multiple Choice
To open a connection, which of the following statements can you use?
A) URL u = new URL("http://www.yahoo.com") ;
URLConnection conn = u.open() ;
B) URL u = new URL("http://www.yahoo.com") ;
URLConnection conn = new URLConnection(u) ;
C) URL u = new URL("http://www.yahoo.com") ;
URLConnection conn = u.openURLConnection() ;
D) URL u = new URL("http://www.yahoo.com") ;
URLConnection conn = u.openConnection() ;
Correct Answer:

Verified
Correct Answer:
Verified
Q13: _ objects are used for communication (IO)
Q17: The _ has one function, to attempt
Q21: When you communicate with a web server
Q28: Sending commands over a socket connection is
Q29: If your data gets lost or garbled
Q39: For the server to execute the run
Q43: If a computer wants to request information
Q53: What does TCP/IP stand for?<br>A)Transmission Control and
Q54: The HTTP command DELETE _.<br>A)deletes two items,
Q60: In a communication protocol, can the sender