Plan
- How to write readble and reusable code
Example Exchange (versions 1 to 6)
Method
Selection
Algorithm
Methods inherited from java.lang.Object
: equals(Object),
hashCode(), toString()
Exceptions
java.util.Map
and Example Exchange (version 7)
"Why a Square is not a
Rectangle ?"
"Why a ColorPoint is not a
Point ?"
- Generics
Collections
Example Sort (versions 1 to 5)
Pattern Adapter
- Example Sort (version 6)
Pattern Decorator
Example Sort (version 7)
Pattern Façade
Example Sort (version 8)
Pattern Observer
Example Sort (version 9)
- Iterator
GUI toolkit = components + layouts + events
Swing
- Components
- Layout
managers and examples
- Hello World versions 1 and 2
- SwingApplication
- CoordinatesDemo
- Line
- Browser (version 0)
- Swing
- Browser (versions 1-History
and 2-Multiple windows)
Calculator (version 1 and 2)
Threads
- Threads
- Producer/Consumer
- Curves
- Counter
- Particles
Exam 2009 and its corrected copy