JAVA OUTPUT STREAMS

PLZ EXPLAIN ME ALL THE JAVA OUT PUT STREAMS.PLZ EXPLAIN DOT REFFER TO THE ORCALE DOCS(I DIDN’T UNDESTOOD
)

stream is flow of bytes…
in java stream is also represented by object…
it is of 2 type input and output stream.

output stream can be any output device i.e file , printer , console , browser , any lots of…

class OutputStream is abstract class
extends java.lang.Object and
implements Closeable, Flushable

it is is the superclass of all classes representing an output stream of bytes i.e
BufferedOutputStream, ByteArrayOutputStream, DataOutputStream, FilterOutputStream