interface A { void xxx(); } class B implements A { public void xxx() { System.out.println(239); } static { A a = new B(); a.xxx(); } }