A. int [] a = {1,2}; B. int a[] = {1,2}; C. int []a=new int [2]; D. int a[2] = {1,2};
A. 编译错误 B. 编译正确,运行时产生错误 C. 输出0 D. 输出 空