This tutorial introduces the basic concepts of java File I/O package. What if you want to access a file through code anytime? When you develop any java application then you will get the requirement to interact with various input/output devices. Input-Output devices are the part of underlying hardware and operating system. To interact with the Input-Output devices through java program/application some implementations had to be used to improve the maintenance of applications when someone changes device or OS.
To resolve this, java vendor provided API in java.io package in which each class represents one source or device. This tutorial will help you to understand about the java I/O package.