McqMate
Q. |
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(); |
Answer» B. InputStream in = s.getInputStream(); |
View all MCQs in
Advanced JAVANo comments yet