The case statement that matches the constant in the switch expression is only reachable; all other case statements are not reachable.

 
  • 只能访问与switch表达式中的常数匹配的case语句,而无法访问其他所有case语句。
今日热词
目录 附录 查词历史