A

Admin • 828.03K Points
Coach

Q. To create an InputStream on a socket, say s, which of the following statement is necessary?

  • (A) InputStream in = s.getStream();
  • (B) InputStream in = s.obtainInputStream();
  • (C) InputStream in = s.getInputStream();
  • (D) InputStream in = new InputStream(s);
  • Correct Answer - Option(C)
  • Views: 13
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.