The switch statement selects from among pieces of code based on the value of an integral expression.

  • 根据一个整数表达式的值,switch语句可从一系列代码选出一段执行。
目录 查词历史