Java 的 switch case 语句中提示 Constant expression required(用的是 IDEA): 因为 switch case 中的常量必须是 final,所以给常量加上 final 关键字就可以啦乛乛