Java.io Package in Java

Java.io Package in Java

This package provides for system input and output through data streams, serialization and the file system. Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a NullPointerException to be thrown.

Following are the important classes in Java.io package: