Re: Extends a class that implements an interface

When a class extends another class it inherits all public methods and fields, therefore it should work without Block needing to implement the Compare interface as the public method compare(Obj, Obj) will be inherited from your Element class.