A) root
B) my document
C) cashe
D) cache
Correct Answer
verified
Multiple Choice
A) URL u = new URL("http://www.yahoo.com") ;
URLConnection conn = u.close() ;
B) URL u = new URL(str) ;
URLConnection conn = new URLConnection(u) ;
C) URL u = new URL(str) ;
URLConnection conn = u.closeURLConnection() ;
D) There is no need to close the connection.
Correct Answer
verified
Multiple Choice
A) TCP
B) IP
C) FTP
D) HTTP
Correct Answer
verified
Multiple Choice
A) when the client quits or disconnects.
B) when the run method exits.
C) when the client quits or disconnects and/or when the run method exits.
D) the thread runs forever in the background.
Correct Answer
verified
Multiple Choice
A) packets
B) transmission data
C) application data
D) socket data
Correct Answer
verified
Multiple Choice
A) the response is successful.
B) the page is found successfully.
C) the page was not found.
D) the connection is lost.
Correct Answer
verified
Multiple Choice
A) SocketConnection
B) ServerConnection
C) ClientConnection
D) URLConnection
Correct Answer
verified
Multiple Choice
A) print
B) send
C) scan
D) flush
Correct Answer
verified
Multiple Choice
A) press Ctrl+C
B) press Ctrl+Z
C) call the kill method
D) servers don't stop.
Correct Answer
verified
Multiple Choice
A) URL
B) application protocol
C) socket
D) IP address
Correct Answer
verified
Multiple Choice
A) DNS
B) socket
C) URL
D) IP
Correct Answer
verified
Multiple Choice
A) returns the requested item.
B) supplies input to a server-side command and returns the result.
C) requests input from the server-side command.
D) supplies input to a client-side command.
Correct Answer
verified
Multiple Choice
A) Yes, the web server does that at the end of the GET request.
B) Yes, the web browser does that in POST request.
C) Yes, the web browser does that at the end of the HTTP header.
D) No, the sender can't indicate how many bytes are contained in the request.
Correct Answer
verified
Multiple Choice
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
Showing 61 - 74 of 74
Related Exams