下列选项能正确定义一个整形数组的是:

下列选项能正确定义一个整形数组的是:

A.intscores[];

B.int[]scores;

C.intscores={0,0,0,0};

D.intscores=newint[10];

正确答案:AB

猜你喜欢