阅读背景:

DesignPattern : Factory

来源:互联网 

1. Why should we use Factory Method?

    1) We want to control the way we create new instance of a certain class. We cannot merely use the new XXX() to create an instance.    1) We want




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: