1、如下哪些不是 java 的关键字? A〕const B〕NULL C〕 false D〕this E) native 答:B2、有关垃圾搜集的哪些体现是对的A〕程序开发者必须自己创立一种线程进展存释放的工作B〕垃圾搜集将检查并释放不在使用的存C〕垃圾搜集容许程序开发者明确指定并立即释放该存D〕垃圾搜集可以在期望的时间释放被 java 对象使用的存答:B3、体现式 int m [ ] = {0,1,2,3,4,5,6};下面哪个体现式的值与数组下标量总数相等? A〕m.length() B〕m.length C〕m.length()+1 D〕m.length-1答:D4 、 如 下 代 码 : public class Test { long a[] = new long [10]; public static void main(String arg[] ){ System.out.print(a[6]); } } 请问哪个语句是对的的?A 〕 Output is null. B 〕 Output is 0 C 〕 When compile, some error will occur. D〕When running, some error will occur. 答:C5、如下代码: public class Test { public static void main(String arg[] ) { int i = 5; do{ System.out.print(i); }while(--i>5); System.out.print(“finished〞); } } 执行后的输出是什么?A〕5 B〕4 C〕6 D〕finished答:AD6、如下代码:switch (m) { case 0: System.out.print(“Condition 0〞); case 1: System.out.print(“Condition 1〞); case 2: System.out.print(“Condition 2〞); case 3: System.out.print(“Condition 3〞); default: System.out.print(“Other Condition 〞 ); } 当 m 的 值 为 何 时 能 输 出“Condition 2〞 A〕0 B〕1 C〕2 D〕3 E) 4 F)None 答:ABC18、下面的哪些申明是合法的?A〕long 1 = 4990 B〕int i = 4L C〕float f =1.1 D〕double d = 34.4 答:AD23、给出下面代码:public class Person{ static int arr[ ] =new int[10];public static void main〔String a [ ]〕{ 〔arr[ 1 ]〕;} } 哪个选项是对的的?A. 编译时将产生错误; B. 编译时对的,运行时将产生错误;C. 输出 0;D. 输出空。答:C24、有关运算符>>和>>>描述对的的选项是A. >>执行移动 B. >>执行翻转 C. >>执行有符号右移,>>>执行无符号右移D. >>执行无符号右移,>>>执行有符号右移答:C26、选出 Java 语言中的关键词〔多选〕A. NULL B. sizeof C....