70
95.7
May 27, 2010
There is a similar relationship between the Strategy/State pattern pairs and the Factory Method/Abstract Factory pattern pairs.
Strategy is used in one place where objects can change; just like the Factory Method is used for creating one type of product.
State pattern holds series of objects that are changed; just like Abstract Factory is used for creating series of products.