public class Inheritor implements Base { public int getX() { return 42; } }