I have read Factory Method pattern. I have a problem when design the latter example.
Best design for the pattern? Anybody can give me any suggestions?
AbstractProduct Creator
/ \ / \
Product1 Product2 Creator1 Creator2
AbstractProduct ? How to design Creator ?
/ | \
Product1 Product2 SubAbstractProduct
/ \
Product3 Product 4