I have an abstract class having an abstract method:
public abstract SomeClass Do(SomeClass o1, SomeClass o2);
Then when I implement in a concrete class which extends that abstract class which has the method from before it I get an error:
@Override
public AClass Do(AClass o1, AClass o2) //AClass extends Someclass
{
//
}
Why do I get the error since AClass is a subtype of SomeClass?
The error is: The method ... must override or implement a super-type method