Factory Method Flashcards
1
Q
Provides hooks for subclasses
A
Consequence
2
Q
Connects parallel class hierarchies
A
Consequence
3
Q
Naming Convetions
A
Implementation
4
Q
Parameterized Factory Methods
A
Implementation
5
Q
Intent/Purpose
A
Defines an interface but lets subclasses decide what to return/create in that interface