switch表达式的数据类型

switch语句中,表达式的数据类型可以是byte short int char enum ,在JDK后可以接收字符串

posted on 2020-11-05 14:32  沐楚  阅读(646)  评论(0)    收藏  举报

导航