Eric Hartway 1/22/07 Section - 3 Lab: Experimenting with Input/Output 3.3. What was the first error generated by the compiler? - first error is "can not find symbol" for the PrintWriter. 3.4. What line did you need to add? -needed to add an import statment for IO. 3.6. What was the first error generated by the compiler this time? - can not find symbol for Scanner object. 3.7. Fix this error. What line did you need to add? - needed to import java.util.Scanner. 4.4. Why was no output generated? - the buffer was not told be be emptyed and so it sat there. 4.5. Fix this mistake. What line did you add? - needed to add a flush method to force the buffer to get rid of its contents. 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? - needed to type ctrl, z to stop it normally. 5.4. What output was generated? - the birthdays of the men for todays date was generated form the txt file. 5.6. What happened and why? - did not work because there was no aniversery file for input into the program. 5.8 What changes did you need to make? - added "File dates;" to the code. 5.10. What changes did you need to make? - needed to add "dates = new File(args[0]);". 5.12. What changes did you need to make? - neede to pass dates as an argument for the new data scanner. 5.14. What output was generated? - the same output was generated as in question 5.4. 6.2. What changes did you need to make? - put a for loop to repeat for as many files as have been inputed. 6.4. What output was generated? - the output for the two files inputed where printed out. 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