πŸ“Š JAVA
Q. To create an InputStream on a socket, say s, which of the following statement isnecessary?
  • (A) InputStream in = new InputStream(s);
  • (B) InputStream in = s.getInputStream();
  • (C) InputStream in = s.obtainInputStream();
  • (D) InputStream in = s.getStream();
πŸ’¬ Discuss
βœ… Correct Answer: (B) InputStream in = s.getInputStream();

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
196
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Babita
Publisher
πŸ“ˆ
93%
Success Rate