(36)
Answer (Choose 1 answer)
A. Error anar is referenced before it is initialized
B. 2
int anar[]=new int[]{1,2,3};System.out.println(anar[1]);
C. Error: size of array must be defined
D. 1
What will happen if you try to compile and run the following code?public class Q{public static void main(String argv[]){
OD