InputStream in Java application is used to read data from a source - Core Java

Q.  Which stream does Java application uses to read data from a source, it may be a file, an array, peripheral device or socket?
- Published on 15 Jul 15

a. InputStream
b. OutputStream
c. Input/OutputStream
d. None of the above

ANSWER: InputStream

Post your comment / Share knowledge

Enter the code shown above:
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)