You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
248 B
15 lines
248 B
10 years ago
|
package pkg;
|
||
11 years ago
|
|
||
|
public class TestClassSwitch {
|
||
|
public void testCaseOrder(int var1) {
|
||
|
switch(var1) {
|
||
|
case 5:
|
||
|
System.out.println(5);
|
||
|
default:
|
||
|
return;
|
||
|
case 13:
|
||
|
System.out.println(13);
|
||
|
}
|
||
|
}
|
||
|
}
|