class JavaClass implements I { public void foo(Object p) { System.out.println(p); } }