public class C implements B { public static void main(String[] args) { A.doit(new C()); } }