package p;

interface I<T> {
	void m();
}

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

package p;

interface I<T> {
	void m();
}

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

Add @Override annotation.