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.
17 lines
250 B
17 lines
250 B
10 years ago
|
package pkg;
|
||
10 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);
|
||
|
}
|
||
|
}
|
||
|
}
|