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 Operating System.

To resolve this, java vendor provided API in package in which each class represents one source or device.

The following is the list methods going to cover in File I/O Concept.

  1. File
  2. FileWriter
  3. FileReader
  4. BufferedWriter
  5. BufferedReader
  6. PrintWriter

Scroll to top