Plan

  1. 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
  2. Exceptions
    Example Exchange (versions 6 to 7)
    Map
    "Why a Square is not a Rectangle ?"
    "Why a ColorPoint is not a Point ?"
  3. Generics
    Collections
    Example Sort (versions 1 to 4)
    Pattern Adapter
  4. 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)
  5. GUI toolkit:
    Swing
  6. Swing
    Iterator
    Calculator (version 1)
  7. Calculator (version 1 and 2)

    Exam 2009 and its corrected copy