mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
test++
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user