package p;

interface I {
	void m();
}

abstract class A implements I {
	public void m() {
	}
}

class B extends A {
}

package p;

interface I {
	void m();
}

abstract class A implements I {
	@Override
	public void m() {
	}
}

class B extends A {
}
Add @Override.