To obtain an InputStream on a socket skt, we use __________. (a) InputStream in = skt.obtainInputStream(); (b)

Question:

To obtain an InputStream on a socket skt, we use __________.

(a) InputStream in = skt.obtainInputStream();

(b) InputStream in = skt.getInputStream();

(c) InputStream in = skt.getStream();

(d) InputStream in = new InputStream(skt);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: