mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-16 21:39:20 +07:00
15 lines
241 B
Java
15 lines
241 B
Java
class C {
|
|
String f () {
|
|
return null;
|
|
}
|
|
|
|
C getParent() {return null;}
|
|
|
|
void test () {
|
|
C c = new C();
|
|
String wrong = c.f();
|
|
while (wrong != null) {
|
|
c = c.getParent();
|
|
}
|
|
}
|
|
} |