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