单项选择题

下列关于数组定义语句不正确的

A.int[]a1,a2;
B.int a[]={1,2,3,4,5};
C.double[] d=new double[8];
D.float f[]=new {2.0f,3.5f,5.6f,7.8f};