public static float[] getValue(int x)
A float value 浮点值
B. An array of float values 浮点值数组
C. An integer 一个整型
D. An array ofintegers 整型数组
String[] str = {"abc", "def", "ghi", "jkl"};
A. "ghi"
B. "def"
C. A reference to the String "ghi" 字符串“ghi”的引用
D. A reference to the String "def" 字符串“def”的引用
String[] names = {"abc", "def", "ghi", "jkl"};
A. for (int i = 0;i < names.length; i++) System.out.println(names[i].length);
B. for (int i = 0;i < names.length(); i++) System.out.println(names[i].length);
C. for (int i = 0;i < names.length; i++) System.out.println(names[i].length());
D. for (int i = 0;i < names.length(); i++) System.out.println(names[i].length());
A search algorithm: 一个搜索算法:
A. is a way to locate a specific item in a larger collection of data是在更大的数据集合中定位特定项的一种方法
B. is rarely used with arrays 很少与数组一起使用
C. arranges elements in ascending order 按升序排列元素
D. arranges elements in descending order 按降序排列元素