class T1 { int method(int i) { return 0; } } class T2 extends T1 { int method(int i) { return super.method(i) + 1; } } class Usage { int m() { T2 test; return test.method(0); } }