以下程序代码,无法通过编译的是() A. class A{ int i=0; public void method() { System.out.println(i); } } B. class A{ int i=0; } class B{ public void method() { System.out.println(A.i); } } C. class A{ public int i=0; public static void method() { System.out.println(new A().i); } } D. class A{ public static int i=0; public static void method() { System.out.println(i); } }