You will notice in the above definition that each case ends with a break, which causes execution to jump to the end of the switch body.

 
  • 在上面的定义中,大家会注意到每个case均以一个break结尾。 这样可使执行流程跳转至switch主体的末尾。
今日热词
目录 附录 查词历史