下面合法的数组声明和构造语句是()
已帮助 人
下面合法的数组声明和构造语句是()
A.int[] ages = [100]
B.int ages = new int[100]
C.int[] ages = new int[100]
D.int() ages = new int(100)

回答
共1条回复-
int[] array = new int[3] {1,2};
