阅读背景:

工厂如何知道要创建哪种类型的对象?

来源:互联网 

I believe the factory method design pattern is appropriate for what I'm trying to do, but I'm not sure how much responsibility (knowledge of subclasses it creates) to give it. The example of using the I believe the factory method design pattern is




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

分享到: