是的,您必须重新定义
bar(...)as抽象方法。然后,您也必须声明
public class FlyingMotorizedVehicle为抽象类
public abstract class FlyingMotorizedVehicle extends MotorizedVehicle { @Override SomethingElse doOtherStuff(...) { return new SomethingElse(); } abstract Foo bar(...);}


