Abstract classes, Interfaces, and Patterns
- slide 35 : 41
The design pattern Factory Method
Subclasses of
Creator
decide which
Product
to instantiate
Illustration of Factory Method in C#.
Wikipedia: Design pattern: Factory Method
Wikipedia: Design pattern: Abstract Factory