abstract class C { abstract void foo(T t); @Override void foo(T t) { } } class B extends C { }