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.
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
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.