interface A { } class B implements A { public void foo() { System.out.println(); } }