6 3 2 P 603ca00c90d8c File
6 3 2 P 603ca00c90d8c File
Written by
InputStream Classes
java.io.InputStream is an abstract class that contains the basic methods for reading raw bytes of data
from a stream.
The InputStream class defines methods for performing the input functions like:
reading bytes
closing streams
int read ()
Returns an integer representation of next available byte of input.
-1 is returned at the stream end.
void close ()
to close the input stream.
void reset ()
Resets pointer to previously set mark/ goes back to stream beginning.
int available ()
Returns number of bytes currently available for reading.
Ans: java.io.InputStream
► InputStream Classes
► Class Hierarchy of InputStream Class
► Methods of InputStream Class