在线等,哪里错了,为啥不能运行呢
package ddddddddddddddd;
public class dasdas {
public static void main( String[]args){
int num=1;
switch (num)
{case1:
System.out.println("奖励电脑一台");
break;
case2:
System.out.println("AD2一个");
break;
case3:
System.out.println("奖励移动电源一个");
break;
default:
System.out.println("奖励u盘1个");
}
}
package ddddddddddddddd;
public class dasdas {
public static void main( String[]args){
int num=1;
switch (num)
{case1:
System.out.println("奖励电脑一台");
break;
case2:
System.out.println("AD2一个");
break;
case3:
System.out.println("奖励移动电源一个");
break;
default:
System.out.println("奖励u盘1个");
}
}
}
}