I am trying to write something like
public class A implements B {}
and
public abstract class M
There is no implements keyword in generic bounds. It's only extends
implements
extends
Furthermore - you should specify the type parameter only in the class definition, and not in supertypes. I.e.