Plan
- How to write readble and reusable code
Example Exchange (versions 1 to 5)
Method
Selection Algorithm
Methods inherited from java.lang.Object : equals(Object),
hashCode(), toString()
Exceptions
- Exceptions
Example Exchange (versions 6 to 7)
Map
"Why a Square is not a
Rectangle ?"
"Why a ColorPoint is not a
Point ?"
- Generics
Collections
Example Sort (versions 1 to 4)
Pattern Adapter
- Pattern Adapter
Example Sort (versions 5 and 6)
Pattern Decorator
Example Sort (version 7)
Pattern Façade
Example Sort (version 8)
Pattern Observer
Example Sort (version 9)
- GUI toolkit:
Swing
- Swing
- Browser versions 1 (History) and 2 (Multiple windows)
Iterator
Calculator (version 1)
- Calculator (version 1 and 2)
Exam 2009 and its corrected copy