abstract class StraightLine implements Inline { public abstract void go(); // inline this method } interface Inline { }