1.

What will be the output of the program?_x000D_ public class Test _x000D_ { _x000D_ private static float[] f = new float[2]; _x000D_ public static void main (String[] args) _x000D_ {_x000D_ System.out.println("f[0] = " + f[0]); _x000D_ } _x000D_ }

A. f[0] = 0
B. f[0] = 0.0
C. Compile Error
D. Runtime Exception
Answer» C. Compile Error


Discussion

No Comment Found