Aim To write a program for demonstrating file IO using Java. Theory Almost all programs in Java require some input which is processed by the program and generates some output. Java provides an API in the form of packages namely java.io, and java.nio for dealing with I/O. Both these packages contain various classes […]