McCabe Weaver Section 1 Jan 23rd 2007 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.PrintWriter; 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.Scanner; 4.4. Why was no output generated? There was no screen.flush() statement after the println 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? It can't unless you input an invalid number, such as a character or string 5.4. What output was generated? Today's Date: 23 January 2007 Birthday: Chita Rivera Birthday: John Hancock 5.6. What happened and why? The system cannot find the specified file. There is no anniversarys.txt in the directory. 5.8 What changes did you need to make? Create a try/catch statement to prevent the exception. Create a File object named dates. 5.10. What changes did you need to make? Put the Scanner object in the try statement, as well as the call to the processDates method. 5.12. What changes did you need to make? Changed the Scanner object inside the try statement to accept dates as a parameter. 5.14. What output was generated? Today's Date: 23 January 2007 Birthday: Chita Rivera Birthday: John Hancock 6.2. What changes did you need to make? Need to add a while loop to handle the multiple files being passed in. 6.4. What output was generated?