package com.heima.HelloWorld;
public class HelloWorld {
/**
* @param args
*/
public static void main(String[] args) {
int x = 12345;
switch(++x){
case 12345;
System.out.println("A");
break;
case 12346;
System.out.println("B");
break;
default;
System.out.println("c");
break;
}
}
}
你们的答案是? |
|