Multiple Choice
To connect to the HTTP port (80) of the server yahoo.com, you use:
A) Socket s = new Socket(80, yahoo.com) ;
B) Socket s = connect("yahoo.com", 80) ;
C) Socket s = new Socket("yahoo.com", 80) ;
D) java yahoo.com 80
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q33: The first time you open a certain
Q34: A page not found has status code
Q35: To retrieve the response code from a
Q36: A successful response has status code _.<br>A)200
Q37: When you communicate with a mail server,
Q39: For the server to execute the run
Q40: Which of the following is not an
Q41: Suppose you use the URLGet program in
Q42: _ is the protocol that defines communication
Q43: If a computer wants to request information