Switch后面可以接:byte short int char 还可以接String,枚举类型
不能long 还有boolean类型
Switch后面可以接什么
最新推荐文章于 2024-07-29 13:52:46 发布
Switch后面可以接:byte short int char 还可以接String,枚举类型
不能long 还有boolean类型