int index = 1; <br /> String [] test = new String[3]; <br /> String foo = test[index];    <br /> What is the result?()  <p> int index = 1; <br /> String [] test = new String[3]; <br /> String foo = test[index];    <br /> What is the result?()  </p>
A、A. Foo has the value “”
B、B. Foo has the value null
C、C. An exception is thrown
D、D. The code will not compile