Andrew Kelley Lab: Experimenting with Input/Output 3.3. What was the first error generated by the compiler? Rooter.java:18: cannot find symbol symbol : class PrintWriter location: class Rooter PrintWriter screen; ^ 3.4. What line did you need to add? import java.io.*; 3.6. What was the first error generated by the compiler this time? Rooter.java:20: cannot find symbol symbol : class Scanner location: class Rooter Scanner keyboard; ^ 3.7. Fix this error. What line did you need to add? import java.util.Scanner; 4.4. Why was no output generated? There was no output since the string "Enter a number" was first stored in the buffer and never printed to the screen. 4.5. Fix this mistake. What line did you add? screen.flush(); 4.6. What do you need to type in the terminal window (as a response to the prompt) in order to make this application terminate normally? Ctrl + z exists the program. 5.4. What output was generated? Today's Date: 22 January 2007 Birthday: Sir Francis Bacon Birthday: George Foreman 5.6. What happened and why? The program ended because no such file could be found. 5.8 What changes did you need to make? File dates; 5.10. What changes did you need to make? dates = new File(args[0]); 5.12. What changes did you need to make? try { dateScanner = new Scanner(dates); } catch(FileNotFoundException fnfe) { System.out.println("File that was pass not found."); } 5.14. What output was generated? Today's Date: 22 January 2007 Birthday: Sir Francis Bacon Birthday: George Foreman 6.2. What changes did you need to make? for(int i = 0; i < args.length; i ++) { dates = new File(args[i]); dateScanner = new Scanner(dates); processDates(today); } 6.4. What output was generated? Today's Date: 22 January 2007 Birthday: Sir Francis Bacon Birthday: George Foreman Programming Assignment 1 Due Review the Java tutorial on Exceptions