Multiple Choice
To create an InputStream on a socket, say s, which of the following statement is necessary?
A) InputStream in = new InputStream(s) ;
B) InputStream in = s.getInputStream() ;
C) InputStream in = s.obtainInputStream() ;
D) InputStream in = s.getStream() ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Which of the following type of JDBC
Q2: The client requests a connection to a
Q4: In the socket programming, for an IP
Q5: Which of the following protocol follows connection
Q6: Which of the following is true about
Q7: Which of the following statement is TRUE?<br>A)With
Q8: Which of these package contains classes and
Q9: To connect to a server running on
Q10: The server listens for a connection request
Q11: Which of the following method call is