IO_rosavj_worksheet Lab: Experimenting with Input/Output 3.3. What was the first error generated by the compiler? Rooter.java:8: cannot find symbol symbol : class PrintWriter location: class Rooter 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:9: cannot find symbol symbol : class Scanner location: class Rooter 3.7. Fix this error. What line did you need to add? import java.util.Scanner; 4.4. Why was no output generated? The program is waiting for the buffer to be activated to output. 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? cntrl d 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? Displayed message "bash: anniversarys.txt: No such file or directory" because there is no file with that name in the same directory as the class. 5.8. What changes did you need to make? Create the new File object named "dates." 5.10. What changes did you need to make? Create the new File by using the input that is stored in array index 0. dates = new File(args [0]); 5.12. What changes did you need to make? The Scanner object was initialized by the new File object dateScanner = new Scanner(dates); Add the "throws FileNotFoundException" command to the end of main() 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? A for loop was added to enter more than one element into the array args. In order for the loop to run the correct number of times, the size of the array was found first. 6.4. What output was generated? Today's Date: 22 January 2007 Birthday: Sir Francis Bacon Birthday: George Foreman Today's Date: 22 January 2007 Programming Assignment 1 Due Review the Java tutorial on Exceptions