By default, Java initializes array elements with what value?Java用什么值初始化数组元素?
查看答案
What will be the value of x[8] after the following code has been executed? 执行以下代码后,x[8]的值是多少?}
A. 170
B. 180
C. 190
D. 200
Java performs ____________, which means that it does not allow a statement to use a subscript that is outside the range of valid subscripts for the array. Java执行_________,这意味着它不允许语句使用数组有效下标范围之外的下标。
A. active array sequencing 有源阵列测序
B. array bounds checking 数组边界检查
C. scope resolution binding 范围分辨率绑定
D. buffer overrun protection 缓冲区溢出保护
In Java, you do not use the new operator when you use a(n): 在Java中,当你使用a(n)时,你不会使用新的运算符:
A. array size declarator 数组大小声明器
B. initialization list 初始化列表
C. two-dimensional array 二维数组
D. All of the above 以上都是
Each array in Java has a public field named ____________ that contains the number of elements in the array.Java中的每个数组都有一个名为_________的公共字段,该字段包含数组中元素的数量。
A. size
B. capacity 容量
C. length
D. limit