mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
13 lines
178 B
Java
13 lines
178 B
Java
class X {
|
|
enum E {A}
|
|
|
|
void print(E e) {
|
|
int p = switch (e) {
|
|
case A -> ans<caret>wer();
|
|
}
|
|
}
|
|
|
|
int answer() {
|
|
return 42;
|
|
}
|
|
} |