Recitation
Material
November
18, 2011
Animation
The slides for this recitation can be downloaded here: Recitation
12
The code for this recitation can be downloaded here: Recitation12.zip
November 11, 2011
Observers and Automatic Refresh
The slides for this recitation can be downloaded here: Recitation 11
The code for this recitation can be downloaded here: Recitation11.zip
November 4, 2011
Generics
The slides for this recitation can be downloaded here: Recitation 10
The code for this recitation can be downloaded here: Recitation10.zip
October 28, 2011
Abstract Classes and Scanning
The slides for this recitation can be downloaded here: Recitation 9
The code for this recitation can be downloaded here: Recitation9.zip
October 14, 2011
Overloading
and Overriding
The slides for this recitation can be downloaded here: Recitation 8
The code for this recitation can be downloaded here:
Recitation8.zip
October 7, 2011
Inheritance & Overriding
The slides for this recitation can be downloaded here: Recitation 7
The code for this recitation can be downloaded here:
Recitation7.zip
The code for the extra challenge can be downloaded here:
Extra7.zip
September 30, 2011
Variable-Sized Collections
The slides for this recitation can be downloaded here: Recitation 6
The code for this recitation can be downloaded here: Recitation6.zip
September 23, 2011
Graphics & Test-first
programming
The slides for this recitation can be downloaded here: Recitation 5
The code for this recitation can be downloaded here: Recitation5.zip
September 16, 2011
Constructors, Immutable Objects
and Instances
Slides are here: Recitation 4
Java file is here: Recitation4.java
September 9, 2011
Using ObjectEditor to edit state
The slides for this recitation can be downloaded here: Recitation 3
September 2, 2011
Using ObjectEditor to Invoke
Methods
The set of slides explaining the recitation exercise can be downloaded
here: Recitation
2
August 26, 2011
Part 1: Download Java and
Eclipse
Downloads
Part 2: Setup Java Programming
Environment (Slides)
Start to get your hands dirty with Eclipse! Eclipse provides a
user-friendly interface for various programming languages. This part
will go through the installation/setup process step by step. In
addition, the debugging and packaging tools are introduced in this
section.
Part 3: Problem
Save Factorial.java
into your newly created Factorial project in Eclipse. Instead of
reading the input from the console, read the inputs from the command
line (using args[]). If the user enters exactly one argument, calculate
the factorial of that argument. You can assume the argument is an
integer, but must fail with appropriate output if more than one
argument is given.