题目内容

How many elements are in array double[] list = new double[5]?

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

查看答案
更多问题

If you declare an array double[] list = {3.4, 2.0, 3.5, 5.5}, the highest index in array list is __________.

A. 1
B. 4
C. 2
D. 3

The array index is not limited to int type.

A. false
B. true

Binary search can be applied on an unsorted list.

A. false
B. true

An array can be used in which of the following ways?

As a local variable
B. As a parameter of a method
C. All of the above
D. As a return value of a method

答案查题题库