各位前辈这个哪里错了?
public class Test {
public static void main(String[] args) {
int num=1;
switch(num){
case1:
System.out.print("奖励笔记本一台");
break;
case2:
System.out.print("奖励IPAD一台");
break;
case3:
System.out.print("奖励笔记本一个");
break;
case4:
System.out.print("奖励钢笔一只");
}
}
}