mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
18 lines
259 B
Java
18 lines
259 B
Java
class T1 {
|
|
int method(int i) {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
class T2 extends T1 {
|
|
int method(int i, int anObject) {
|
|
return anObject;
|
|
}
|
|
}
|
|
|
|
class Usage {
|
|
int m() {
|
|
T2 test;
|
|
return test.method(0, test.method(0) + 1);
|
|
}
|
|
} |