Java I/O
java.io
package can
be classified as
InputStream
or OutputStream
. They
deal in 8-bit bytes.Reader
and Writer
. They deal in
16-bit (Unicode) characters.InputStream
and OutputStream
are used for binary data. The Reader
and
Writer
classes are used for text.ObjectInputStream
and
ObjectOutputStream
allow you to send a whole
object.1 of 13