// Demonstrate FileReader.import java.io *;. Class FileReaderDemo {public static void main (String [] args) throws Exception {FileReader fr = new FileReader ( "FileReaderDemo.java"); BufferedReader br = new BufferedReader (fr); String S; while ((s = br.readline ())! = Null) {system.out.println (s);} fr.close ();}}