2008年6月18日星期三

Factory Pattern

[Factory Pattern]

The essence of the Factory Pattern is to "Define an interface for creating an object, but let the subclasses decide which class to instantiate. The Factory method lets a class defer instantiation to subclasses"

0 意見: