Switch后面可以接:byte short int char 还可以接String,枚举类型
不能long 还有boolean类型
Switch后面可以接什么
最新推荐文章于 2022-10-21 16:48:34 发布
Switch后面可以接:byte short int char 还可以接String,枚举类型
不能long 还有boolean类型