class C implements B { @Override public String getFoo() { return "C"; } }