mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
19 lines
325 B
Java
19 lines
325 B
Java
// "Use existing implementation of 'm'" "true"
|
|
interface I {
|
|
void m();
|
|
}
|
|
|
|
class A implements I {
|
|
public static final String TEXT = "code";
|
|
|
|
public void m() {
|
|
System.out.println(TEXT);
|
|
}
|
|
}
|
|
|
|
class B implements I {
|
|
public void m() {
|
|
<selection>System.out.println(A.TEXT);</selection>
|
|
}
|
|
}
|