类型为char、byte、short或int的常量表达式, 枚举常量, 从Java SE 7开始,case标签还可以是字符串字面量。 转载于:https://www.cnblogs.com/Wcy100/p/5256650.html