Lecture 8: More Design Patterns

This lecture continues our exploration of design patterns and how they solve common OO design problems. It focuses mainly on two: the Factory Method and Decorator patterns. For the latter, we consider examples of its use in Java’s Swing UI framework and I/O class hierarchy. The lecture also briefly considers the value of the Facade and Composite patterns.