mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 11:42:40 +07:00
16 lines
237 B
Java
16 lines
237 B
Java
|
|
class A {
|
|
private String prefix = "> ";
|
|
|
|
}
|
|
|
|
class B extends A {
|
|
void foo() {
|
|
Runnable runnable = new Runnable() {
|
|
@Override
|
|
public void run() {
|
|
System.out.println(prefix);
|
|
}
|
|
};
|
|
}
|
|
} |