switch(expr1)中,expr1是一个整数表达式。传递给 switch 和 case 语句的参数应该是 int、 short、 char 或者 byte。long,string 都不能作用于swtich。
62,620
社区成员
307,251
社区内容
加载中
试试用AI创作助手写篇文章吧