mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
17 lines
209 B
Java
17 lines
209 B
Java
enum E {
|
|
A(new Bar().foo(), 1);
|
|
|
|
E(String s, int num) {
|
|
this.s = s;
|
|
this.num = num;
|
|
}
|
|
|
|
private final String s;
|
|
private final int num;
|
|
}
|
|
|
|
class Bar {
|
|
String foo() {
|
|
return "hello";
|
|
}
|
|
} |