qq_木偶匹诺曹_0
2017-03-13 20:01
问题出在哪了?public class HelloWorld {
public static void main(String[] args) {
char today='日';
switch(today)
{
case '一':
case '三':
case '五':
System.out.println("吃包子");
break;
case '二':
case '四':
case '六':
System.out.println("吃油条");
break;
default:
System.out.println("吃主席套餐");
}
}
}
}
玩了这么久多了个括号!!我恨!
Java入门第一季(IDEA工具)升级版
1167575 学习 · 18748 问题
相似问题