Interesting Articles
Programming Assignments
- Program 1 (due Oct. 2, 2007 -- yes, this is a Tuesday)
- Program 2 (due Oct. 30, 2007 -- again, a Tuesday)
- program so that you can see expected behavior (right-click, save as type "all files", make sure file name ends with .jar even if you have to type .jar yourself)
Executable Jar file -- should be able to double click to run)
If you cannot double click to run the jar file, you can type " java -jar p2f07sample.jar" at the command prompt. Or you can unzip the file using WinZip or WinRAR, and you can type "jar xvf p2s07sample.jar" at
the command prompt, and then type "java TicketMasterDriver" to run.
Note: you must enter the command to open before tickets can be purchased.
As a last resort, go here and right-click and save each .class file individually.
At the command prompt, you can type "java TicketMasterDriver" as before. If you are using BlueJ, make an empty
project, close BlueJ, copy the files manually into the directory, and then restart BlueJ and open the project.
- Hints (Microsoft Word format) There are a lot of methods to write, but most of them should be
short!
- More hints
- The public methods of Concert and TicketMaster (in case you are having difficulty seeing the screenshots)
- Worksheets for planning Concert and TicketMaster (courtesy of Jonathan Beretta)
- Program 3 (due Nov. 20, 2007 -- again, a Tuesday)
- Program 4 (due December 12, 2007, a Wednesday)
Tests
- Sept. 28, 2007
- Chapter 2: Sections 1 through 5
- Chapter 3: Sections 1 through 6 (except for printf method)
- Chapter 5: Sections 1 through 3, 5, 8
- Keyboard
- Examples done in class (this goes without saying)
- October 26, 2007
- Chapter 4: Sections 1 through 5 (5th edition)
- Chapter 6: Sections 1 through 4, 7, 8
- November 16, 2007
- Final Exam Week Fall 2007
- Chapter 10: Sections 1-6
- File I/O
Exceptions
- IOException
- ClassNotFoundException
Text File Input
- FileReader (constructor)
- BufferedReader (constructor, readLine(), close())
- Integer.parseInt(...), Double.parseDouble(...), etc.
Text File Output
- FileWriter (constructor)
- BufferedWriter (constructor)
- PrintWriter (constructor, print(...), println(...), close())
- java.io.Serializable interface
Object File Input
- FileReader (constructor)
- ObjectInputStream (constructor, Object readObject(), casting,
close())
Object File Output
- FileWriter (constructor)
- ObjectOutputStream (constructor, writeObject(...), close())
- GUIs (sections marked in green in your textbook)
- Chapter 3: Sections 9-11
- Chapter 2: Sections 7-9
- Chapter 4: Sections 6-9
- Chapter 5: Sections 9-12
- Chapter 6: Sections 10-13
- Chapter 8: Sections 6-7
- Chapter 9: Sections 7-8
- Chapter 10: Sections 7-9
Supplemental Reading Material from Head First Java, 2nd edition
bookClasses-8-21-06.zip
(Zip file containing Turtle examples from the textbook by Dr. Mark Guzdial at Georgia Tech)
MediaSources.zip (Zip file containing sound files played in example originated by Dr. Guzdial)
java-source-Fall06.zip(Zip file containing Sound classes from the textbook by Dr. Guzdial)