题目内容

The arraycopy method does not allocate memory space for the target array. The target array must already be created with memory space allocateD.

A. true
B. false

查看答案
更多问题

Given the following statementint[] list = new int[10];

A. The array variable list contains a memory address that refers to an array of 10 int values.
B. The array variable list contains ten values of type int.
C. The array variable list contains a memory address that refers to an array of 9 int values.
D. The array variable list contains nine values of type int.

When you pass an array to a method, the method receives __________.

A. a copy of the first element
B. a copy of the array
C. the reference of the array
D. the length of the array

Assume int[] t = {1, 2, 3, 4}. What is t.length?

A. 4
B. 5
C. 0
D. 3

The array size is specified when the array is declareD.

A. true
B. false

答案查题题库