mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-11-19 13:33:45 +00:00
Update 设计模式 - 状态.md
示例输出的语法校对。
This commit is contained in:
+2
-2
@@ -87,7 +87,7 @@ public class NoQuarterState implements State {
|
||||
|
||||
@Override
|
||||
public void ejectQuarter() {
|
||||
System.out.println("You haven't insert a quarter");
|
||||
System.out.println("You haven't inserted a quarter");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -285,7 +285,7 @@ A gumball comes rolling out the slot...
|
||||
You insert a quarter
|
||||
You turned...
|
||||
A gumball comes rolling out the slot...
|
||||
You haven't insert a quarter
|
||||
You haven't inserted a quarter
|
||||
You insert a quarter
|
||||
You can't insert another quarter
|
||||
You turned...
|
||||
|
||||
Reference in New Issue
Block a user