简答题String str = “oop.163.com”; String temp[ ] = str.split("."); 执行完该语句,temp的内容为:temp[0]=oop temp[1]=163 temp[2]=com A、正确 B、错误简答题Java中,用来获取字符串长度的函数是length() A、正确 B、错误简答题下列叙述哪些是正确的? A、String类是final类,不可以有子类 B、String类在java.util包中 C、”abc”.equals(“abc”)的值是false D、String类可以创建可变字符串简答题1. 下面程序的运行结果是( )public static void main( String[ ] args ) { int x = 30; int [ ] numbers = new int[x]; x = 60; System.out.println( numbers.length ) ; } A、20 B、30 C、50 D、60简答题Java采用的字符集是() A、ASCII B、Unicode C、ISO8859 D、GB2312简答题声明数组时,要指定数组长度,以便为数组分配内存。 A、正确 B、错误简答题下面创建数组的语句不正确的是( ) A、float f[ ][ ] = new float[6][6]; B、float f[ ] = new float[6]; C、float f[ ][ ] = new float[ ][6]; D、float [ ][ ] f = new float[6][ ];简答题数组创建后其大小可以改变。 A、正确 B、错误简答题System.out.println("student".substring(1, 3)); 输出结果为:tud A、正确 B、错误简答题执行完代码" int [ ] x = new int[25] ; "后,下面选项哪个是正确的( ) A、x[24]为0 B、x[24]未定义 C、x[25]为0 D、x[0]为空简答题数组下标访问超出索引范围时抛出数组越界异常。 A、正确 B、错误简答题String类的charAt(int index) 方法, 返回指定索引处的 char 值。 A、正确 B、错误简答题声明一个数组int arr[] = new int[5]; 代表这个数组长度为5,数组元素下标的使用范围是0-4。 A、正确 B、错误简答题String类的compareTo(String anotherString) ,是按字典顺序比较两个字符串。 A、正确 B、错误简答题数组a的第三个元素表示为() A、a(3) B、a[3] C、a(2) D、a[2]简答题Java中,用来取字符串子串的函数是substring()。 A、正确 B、错误简答题1. 下面程序的运行结果是( ) main() { int a[ ][ ] = { { 1, 2, 3 } , { 4 , 5 , 6 } } ; System.out.printf( "%d" , a[1][1] ) ; } A、3 B、4 C、5 D、6