The java.io package contains nearly every class you might ever need
to perform input and output (I/O) in Java. All these streams represent
an input source and an output destination. The stream in the java.io
package supports many data such as primitives, Object, localized
characters etc.
A stream can be defined as a sequence of data. The InputStream is used to read data from a source and the OutputStream is used for writing data to a destination.
Java does provide strong, flexible support for I/O as it relates to files and networks but this tutorial covers very basic functionlity related to streams and I/O.
A stream can be defined as a sequence of data. The InputStream is used to read data from a source and the OutputStream is used for writing data to a destination.
Java does provide strong, flexible support for I/O as it relates to files and networks but this tutorial covers very basic functionlity related to streams and I/O.
No comments:
Post a Comment