JAVA Array
What is the result of compiling and running the following code?public class Test{ public static void main(String[] args){ int[] a = new int[0]; System.out.print(a.length); }}
None of these
0
Compilation error, arrays cannot be initialized to zero size.