Update 01.SimpleFactory.md
parent
74a44fd073
commit
56aba5ed1c
|
@ -28,7 +28,7 @@
|
||||||
![avatar](.//1.Picture//简单工厂模式.png)
|
![avatar](.//1.Picture//简单工厂模式.png)
|
||||||
|
|
||||||
代码结构如下:
|
代码结构如下:
|
||||||
```
|
``` {.line-numbers}
|
||||||
//抽象产品类AbstractProduct
|
//抽象产品类AbstractProduct
|
||||||
class AbstractProduct
|
class AbstractProduct
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue