mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 14:04:04 -05:00
9 lines
234 B
Java
9 lines
234 B
Java
class Main {
|
|
static void test(int x) {
|
|
switch (x) {
|
|
case 0: System.out.println(1); break;
|
|
case 1: System.out.println(12); break;
|
|
default: System.out.println("default");
|
|
}
|
|
}
|
|
} |