Update
This commit is contained in:
parent
5cdb5c5ca8
commit
24206b14b8
@ -239,14 +239,12 @@ switch(表达式) {
|
||||
}
|
||||
```
|
||||
|
||||
备注1:当所有的比较结果都为false时,则只执行default里的语句。
|
||||
|
||||
|
||||
### switch语句的执行流程
|
||||
|
||||
流程图如下:
|
||||
|
||||
![](http://img.smyhvae.com/20190815_1500.jpg)
|
||||
![](http://img.smyhvae.com/20190815_1501.png)
|
||||
|
||||
执行流程如下:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user