mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
10 lines
194 B
Java
10 lines
194 B
Java
class C {
|
|
void test(int n) {
|
|
String s = switch (n) {
|
|
case 1 -> {
|
|
throw new RuntimeException();
|
|
}
|
|
default -> "";
|
|
};
|
|
}
|
|
} |