Lab: Experimenting with Input/Output toufic Arabi 3.3. What was the first error generated by the compiler? the first error was: Rooter.java:19: cannot find symbol symbol : class PrintWriter location: class Rooter PrintWriter screen; 3.4. What line did you need to add? the line that i had to add is : import java.io.PrintWriter; 3.6. What was the first error generated by the compiler this time? the first error is: Rooter.java:21: cannot find symbol symbol : class Scanner location: class Rooter Scanner keyboard; ^ 3.7. Fix this error. What line did you need to add? the line that i added is: import java.util.Scanner; 4.4. Why was no output generated? there was no output that was generated since the string Enter a number: was stored and stuck in the buffer memory. there was no command to pass it to the screen to show it to the user. 4.5. Fix this mistake. What line did you add? the line that i added is : 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 makes the application terminate normally. 5.4. What output was generated? the program generated the following output; 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? the change is the follwing declaration File dates; 5.10. What changes did you need to make? i ran birthdays.txt in the command line argument the code that i had to add is: dates = new File (args[0]); 5.12. What changes did you need to make? the changes are: try { dateScanner = new Scanner(dates); } catch (FileNotFoundException fnfe) { System.out.print("The file that was passed is not found " + fnfe.getMessage() + "\n"); } 5.14. What output was generated? the output is: Today's Date: 22 January 2007 Birthday: Sir Francis Bacon Birthday: George Foreman 6.2. What changes did you need to make? the changes that i had to make are: try { for (int count = 0; count < args.length; count++) { dates = new File (args[count]); 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