public class Test { private static float[] f = new float[2]
题目
单选题
public class Test { private static float[] f = new float[2]; public static void main(String args[]) { System.out.println(“f[0] = “ + f[0]); } } What is the result?()
D
An exception is thrown at runtime.