mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
15 lines
287 B
Java
15 lines
287 B
Java
public class Foo {
|
|
static Foo
|
|
f1 = new Foo(){
|
|
public String toString() {
|
|
return newMethod();
|
|
}
|
|
};
|
|
|
|
private static String newMethod() {
|
|
return "a" + "b";
|
|
}
|
|
|
|
static Foo f2 = new Foo(){};
|
|
|
|
} |