interface A { void foo(); } interface B extends A { @Override void foo(); }