题目内容

long[] array1 = new long[ARRAY_SIZE];

A. Declares array1 to be a reference to an array of long values 声明array1是一个long型数组的引用
B. Creates aninstance of an array of 10 long values 创建一个包含10个long型的数组的实例
C. Will allowvalid subscripts in the range of 0 - 9 将允许0 - 9范围内的有效下标
D. All of the above 以上都是

查看答案
更多问题

}

A. 50
B. 55
C. 60
D. 65

y = x;

A. x[] = {36, 78, 12, 24} and y[] = {23, 55, 83, 19}
B. x[] = {36, 78, 12, 24} and y[] = {36, 78, 12, 24}
C. x[] = {23, 55, 83, 19} and y[] = {23, 55, 83, 19}
D. This is acompilation error 这是一个编译错误

When an individual element of an array is passed to a method: 当数组中的一个元素被传递给一个方法时:

A. a reference to the array is passed 一个对数组的引用被传递
B. it is passed like any other variable 它像其他变量一样被传递
C. the method does not have direct access to the original array 该方法不能直接访问原始数组
D. All of the above 以上都是

}

A. value contains thehighest value in array1 value包含array1中最高的值
B. value contains the lowest value in array1 value包含array1中最小的值
C. value contains the sum of all the values in array1 value包含array1中所有值的和
D. This wouldcause the program to crash 这将导致程序崩溃

答案查题题库