未验证 提交 d111b429 编写于 作者: 郑永川 提交者: GitHub

Merge pull request #516 from ZedYeung/patch-1

Update 设计模式.md
......@@ -2836,8 +2836,8 @@ public class SubSystem {
System.out.println("setCD( " + cd + " )");
}
public void starWatching(){
System.out.println("starWatching()");
public void startWatching(){
System.out.println("startWatching()");
}
}
```
......@@ -2849,7 +2849,7 @@ public class Facade {
public void watchMovie() {
subSystem.turnOnTV();
subSystem.setCD("a movie");
subSystem.starWatching();
subSystem.startWatching();
}
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册