j2k: flatten test cases and testData directory structure
Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
//file
|
||||
package switch_demo;
|
||||
|
||||
public class SwitchDemo {
|
||||
public static void main(String[] args) {
|
||||
int month = 8;
|
||||
String monthString;
|
||||
switch (month) {
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
case 7:
|
||||
case 8:
|
||||
case 9:
|
||||
case 10:
|
||||
case 11:
|
||||
case 12: monthString = "December"; break;
|
||||
default: monthString = "Invalid month"; break;
|
||||
}
|
||||
System.out.println(monthString);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user