Code /* TestException4.java CIS 260 Dave Klick 2016-02-03 This program automatically handles the FileNotFoundException as an IOException (which it extends). */ import java.io.*; public class TestException4 { public static void main(String[] args) throws IOException { for (String filename : args) displayFile(filename); } private static void displayFile(final String fname) throws IOException { FileInputStream input = new FileInputStream(fname); int data = input.read(); while (data != -1) { System.out.print((char) data); data = input.read(); } input.close(); System.out.println("\n"); } }