Stream and types of Streams
A Stream is an abstraction that either produces or consumes information. There are two types of Streams and they are:
Byte Streams: Provide a convenient means for handling input and output of bytes. Byte Streams classes are defined by using
two abstract classes, namely InputStream and OutputStream.
Character Streams: Provide a convenient means for handling
input & output of characters. Character Streams classes are defined by using two abstract classes, namely Reader and Writer.