public class HelloWorld {? ? public static void main(String[] args) { char today='日'; switch(num)? ? ? ??? ? ? ? {? ? ? ? ? ? case 1:? ? ? ? ? ? case 3:? ? ? ? ? ? case 5:? ? ? ? ? ? ?System.out.println("吃包子");? ? ? ? ??? ? ? ? ? ? case 2:? ? ? ? ? ? case 4:? ? ? ? ? ? case 6:? ? ? ? ? ? ?System.out.println("吃龍蝦哦"); ??? ? ? ? }? ? ? ??? ?} ? ??} ? ? ? ?
swithch語(yǔ)法錯(cuò)在哪里?
Jerrylinusa
2015-11-20 15:28:11