public class HelloWorld {
public static void main(String[] args) {
char today='日';
switch(today)
{case ('一'||'三'||'五'):
System.out.println("吃包子");
case('二'||'四'||'六'):
System.out.println("吃油条");
default:
System.out.println("吃主席套餐");}
}
少了break语句