nick bakewell - harris Lab: Experimenting with Input/Output 3.3. What was the first error generated by the compiler? cannot find symbol - PrintWriter 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? cannot find symbol - Scanner 3.7. Fix this error. What line did you need to add? import java.util.*; 4.4. Why was no output generated? second parameter for PrintWriter (boolean) was missing 4.5. Fix this mistake. What line did you add? added ", true" to screen = new PrintWriter(System.out) 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? control z 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? bash: anniversarys.txt: No such file or directory This happened because the file does not exist in our working directory 5.8 What changes did you need to make? add File dates; 5.10. What changes did you need to make? add: dates = new File(args[0]); 5.12. What changes did you need to make? try { dateScanner = new Scanner(dates); } catch(FileNotFoundException e) { System.err.println("No File"); } 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? wrap around the dateScanner and processDate statement: for(int i = 0; i < args.length; i++) and move dates = new File(args[i]); inside the loop 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