auto commit
This commit is contained in:
parent
5d4536613d
commit
d06c57f0f5
|
@ -339,7 +339,7 @@ public class ConcreteFactory2 extends Factory {
|
|||
|
||||
### 类图
|
||||
|
||||
<div align="center"> <img src="../pics//e82e0454-4ece-435e-945f-90bc0d37bf44.png"/> </div><br>
|
||||
<div align="center"> <img src="../pics//79076335-cfae-4fe6-97b9-62e8eebbf2b9.png"/> </div><br>
|
||||
|
||||
抽象工厂模式创建的是对象家族,也就是很多对象而不是一个对象,并且这些对象是相关的,也就是说必须一起创建出来。而工厂模式只是用于创建一个对象,这和抽象工厂模式有很大不同。
|
||||
|
||||
|
|
BIN
pics/79076335-cfae-4fe6-97b9-62e8eebbf2b9.png
Normal file
BIN
pics/79076335-cfae-4fe6-97b9-62e8eebbf2b9.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
Loading…
Reference in New Issue
Block a user