Solved

To Connect to the HTTP Port (80) of the Server

Question 38

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions