A. float f = 11.1; B. double d = 5.3E12; C. double d = 3.14159; D. double d = 3.14D;
A. $persons; B. TwoUsers; C. *point; D. _endline;
A. 代码得到编译,并输出“s=” B. 代码得到编译,并输出“s=null” C. 由于String s没有初始化,代码不能编译通过 D. 代码得到编译,但捕获到NullPointException异常
A. line 4 B. line 6 C. line 7 D. line 8
A. 行4与行6都将执行 B. 行4执行,行6不执行 C. 行6执行,行4不执行 D. 行4、行6都不执行
A. 0 B. 7 C. 编译有错误 D. 其他答案
A. int x[] = {1,2,3}; B. int x[3] = {1,2,3}; C. int[] x = {1,2,3}; D. int x[] = new int[]{1,2,3};
A. good and abc B. good and gbc C. test ok and abc D. test ok and gbc
A. 本地方法 B. 静态方法 C. 最终方法 D. 抽象方法
A. 类是对象的抽象 B. 类是对象的具体实例 C. 对象是类的抽象 D. 对象是类的子类