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
259 B
17 lines
259 B
11 years ago
|
package unit.classes;
|
||
|
|
||
|
|
||
|
public class TestClassSwitch {
|
||
|
|
||
|
public void testCaseOrder(int var1) {
|
||
|
switch(var1) {
|
||
|
case 5:
|
||
|
System.out.println(5);
|
||
|
default:
|
||
|
return;
|
||
|
case 13:
|
||
|
System.out.println(13);
|
||
|
}
|
||
|
}
|
||
|
}
|