题目内容

For standard situations what is typically the best type of array to use

ArrayList
B. One-dimensional array
C. Multi-dimensional array

查看答案
更多问题

湖南省检察院的反贪局在办理自侦案件的过程中,侦查员刘某认为需要由本检察院的技术部门对案中的专门性问题进行鉴定。下列人员或机构中有权决定进行该项鉴定的是:______

A. 湖南省检察院反贪局局长张某
B. 湖南省检察院检察长吴某
C. 省检察院检察委员会
D. 侦查员刘某

What is the output of the following code segment int[] testScores = {80,63,99,87,100}; System.out.println("Length: " + testScores.length);

A. Length: 4
B. Length: 5
C. Length: 100
D. A compile time error will be generated.
E. A runtime exception will be thrown.

What line will produce a compiler error

A. double[][] numbers;
B. double[][][] numbers;
C. double[][] numbers = {{1,2,3},{7,8,9},{4,5,6}};
D. double[][] numbers = {{1,2,3},{7,8},{4,5,6,9}};
E. double[][][] numbers = new double[7][][];
F. double[][][] numbers = new double[][][];
G. double[][][] numbers = new double[7][3][2];

What can be stored in an ArrayList

A. Primitives
B. Objects
C. Standard arrays
D. Enums

答案查题题库