Java.io Package in Java

Last Updated : 26 Sep, 2023

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:


Share your thoughts in the comments

Similar Reads