| 作者 |
内容 |
| oceancolor |
请问抽象工厂和工厂方法的区别在哪里??
如题 |
| 01/08/23 10:25 |
酷帖! 臭帖! 回复 |
| 酷帖评价: 臭帖评价: |
| 返回页首 |
|
| gt7092b |
回复:
请问抽象工厂和工厂方法的区别在哪里??
Thinking in this way:
Abstract Factory is a factory making a family of ABSTRACT
products.
Factory Method is a factory implemented as a METHOD. The key of
this pattern is letting subclasses override the method.
Hope this helps. |
| 01/08/23 12:34 |
酷帖! 臭帖! 回复 |
| 酷帖评价: 臭帖评价: |
| 返回页首 |
|
|