mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 23:50:57 +07:00
16 lines
215 B
Java
16 lines
215 B
Java
class Main {
|
|
final Parent test = new Test();
|
|
void foo() {
|
|
test.getClass().getField("num2");
|
|
}
|
|
}
|
|
|
|
class Test extends Parent {
|
|
public int num;
|
|
int num2;
|
|
}
|
|
|
|
class Parent {
|
|
public int num3;
|
|
int num4;
|
|
} |