interface foo {  <br /> int k = 0;  <br /> }   <br /> public class test implements Foo ( <br />  public static void main(String args) (  <br />  int i;  <br /> Test test = new test (); <br />  i= test.k;  <br /> i= Test.k;  <br /> i= Foo.k;  <br /> )  <br /> )  <br /> What is the result? ()<p> interface foo {  <br /> int k = 0;  <br /> }   <br /> public class test implements Foo ( <br />  public static void main(String args) (  <br />  int i;  <br /> Test test = new test (); <br />  i= test.k;  <br /> i= Test.k; &e
A、A. Compilation succeeds.
B、B. An error at line 2 causes compilation to fail.
C、C. An error at line 9 causes compilation to fail.
D、D. An error at line 10 causes compilation to fail.
E、E. An error at line 11 causes compilation to fail.