下面哪条语句定义了5个元素的数组()。

下面哪条语句定义了5个元素的数组()。

A.int[]a={22,23,24,25,12};

B.inta[]=newint();

C.int[5]array;

D.int[]arr;

正确答案:A

猜你喜欢