Java中的switch语句后面的控制表达式的数据类型


1、byte


2、char


3、short


4、int


5、枚举类型


6、Java 7同意java.lang.String类型


相关文章: