未分类 · 2025年11月21日

下列选项能正确定义一个整形数组的是: A.int[] scores; B.int scores=new int[10]; C.int scores={0,0,0,0}; D.int scores[];

下列选项能正确定义一个整形数组的是: A.int[] scores; B.int scores=new int[10]; C.int scores={0,0,0,0}; D.int scores[];

正确答案:AD