某个case语句后的值开始,它下方的所有语句都会一直运行,直到遇到一个break为止。
1、switch
英 [swɪtʃ] 美 [swɪtʃ]
n.开关;转换,转换器;软鞭子;[信]接线台
vt.& vi.转换;转变,改变;关闭电流;鞭打
vt.转换;挥动(棍棒、鞭子等);迅速转动;鞭打
vi.交换;调换
2、双语例句
(1)Leona put detergent into the dishwasher, shut the door and pressed the switch.
利昂娜将一些清洁剂放入洗碗机,关上门后按了开始键。
(2)Estonia is switching to a market economy
爱沙尼亚正在向市场经济转轨。
(3)My mother's interest had switched to my health
母亲转而关注起我的健康来。