There is an abstract class, and in it the getSmallClone(double i) method getSmallClone(double i) which should return an object of such an abstract class (its successor).
The compiler wants me to immediately implement an abstract method, but this cannot be done. How to be?
abstract class AbstractFigure { abstract boolean inFigure(Point point); AbstractFigure getSmallClone(double i) { return new AbstractFigure(st, en); } }
<? super E><? super E>(where AbstractFigure will be as E) to implement what you want to do. - DimXenon