WHAT IS STREAM AND TYPES OF IO STREAM:

Stream is an abstraction which can produce or consume information.
There are two types of stream: byte and character.
Byte Stream provides a convenient means for handling input and output of bytes,
Character Stream provides a convenient means for handling input and output of characters,
For byte stream two abstract classes are in the top of the hierarchy InputStream and OutPutStream.
For character stream two abstract classes in the top of the hierarchies Reader and Writer.

No comments:

Post a Comment