This commit is contained in:
Dmitry Jemerov
2009-09-10 21:30:46 +04:00
parent 4e0b0c39af
commit a5f846b4d4
87 changed files with 20 additions and 29 deletions
@@ -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);
}
}