switch case语句

switch case必须与break一起使用

break是跳转语句,与switch case连用时的时候是跳出最近的{}。

例:

posted on 2016-01-25 16:52  一全  阅读(210)  评论(0编辑  收藏  举报

导航