You are satisfying both conditions at once; ie. the one implementation is at the same time fulfilling the abstract class requirements and the interface requirements.
As a note, unless you are using Intr
in another inheritance chain, you don’t need it. Also, it might make sense to move the implements Intr
up to the abstract class definition.