Update 01.SimpleFactory.md

adjust markdown doc format
master
Qiangguo Feng 2021-09-09 11:36:10 +08:00 committed by GitHub
parent 4adda6b931
commit bee81868ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
- **抽象产品AbstractProduct**:具体产品类的基类,包含创建产品的公共方法;
- **具体产品ConcreteProduct**抽象产品的派生类包含具体产s品特有的实现方法是简单工厂模式的创建目标。
简单工厂模式UML类图如下
![avatar](.//1.Picture//简单工厂模式.png)
![avatar](.//1.Picture//简单工厂模式.png)
代码结构如下:
```