I/O byte and text stream

Binary I/O does not require conversions. Binary I/O is more efficient than text I/O, because binary I/O does not require encoding
and decoding. Binary files are independent of the encoding scheme on the host machine and
thus are portable. Java programs on any machine can read a binary file created by a Java program. This is why Java class files are binary files. Java class files can run on a JVM on any
machine.

Text I/O require conversion.
Text I/O is built upon binary I/O to provide a level of abstraction for character encoding and decoding
....
Not Complited........ 

0 comments:

Post a Comment

My Instagram