> Online tutorial : java.io package
Showing posts with label java.io package. Show all posts
Showing posts with label java.io package. Show all posts

java.io package

An overview of the java.io package
Introduction
This section introduces the java.iopackage.
Here are some basic points about I/O:

* Data in files on your system is called persistent data because it persists after the
program runs.
* Files are created through streams in Java code.
* A stream is a linear, sequential flow of bytes of input or output data.
* Streams are written to the file system to create files.
* Streams can also be transferred over the Internet.
* Three streams are created for us automatically:

Syst*em.out - standard output stream
Syst*em.in - standard input stream
Syst*em.err - standard error


* Input/output on the local file system using applets is dependent on the browser's
security manager. Typically, I/O is not done using applets. On the other hand,
stand-alone applications have no security manager by default unless the developer has
added that functionality.


Buy It Now