-->
当前位置:首页 > 题库

题库 第6223页

  • 最新
  • 浏览
  • 评论

单选题:下列代码的执行结果是( )

Luz5年前 (2021-05-10)854
下列代码的执行结果是( ) @[D](2)```public class Main { public static void main(String[] args) { int a=2,b=8,c=6;…

单选题:在Java中,负责对不再使用的对象自动回收的是( )

Luz5年前 (2021-05-10)3172
在Java中,负责对不再使用的对象自动回收的是( )@[A](2)A. 垃圾回收器B. 虚拟机C. 编译器D. 多线程机制A.垃圾回收器B.虚拟机C.编译器D.多线程机制答案:A…

单选题:现在有一个方法:public static int info(int x,double y),下面那个方法是对本方法的正确重载?

Luz5年前 (2021-05-10)2173
现在有一个方法:public static int info(int x,double y),下面那个方法是对本方法的正确重载?@[C](2)A. public static int infos(int x,int y);B. public…

单选题:假设有如下程序:

Luz5年前 (2021-05-10)1448
假设有如下程序:```public class Demo { public static void main(String args[]) { System.out.println(inc(10) + in…

单选题:假设有如下程序:

Luz5年前 (2021-05-10)1991
假设有如下程序:```public class Demo { public static void main(String args[]) { int sum = 0 ; int x…

单选题:以下哪个标识符不合法?

Luz5年前 (2021-05-10)1276
以下哪个标识符不合法?@[B](2)A. _sys1_lllB. 2mailC. $changeD. ClassA._sys1_lllB.2mailC.$changeD.Class答案:B…

单选题:假设有如下程序:

Luz5年前 (2021-05-10)1564
假设有如下程序:```public class Demo { public static void main(String args[]) { boolean flag = 10%2 == 1…

单选题:假设有如下程序:

Luz5年前 (2021-05-10)1186
假设有如下程序:```public class Demo { public static void main(String args[]) { int num = 2147483647 ;…

单选题:假设有如下程序:

Luz5年前 (2021-05-10)1562
假设有如下程序:```public class Demo { public static void main(String args[]) { String str = "" ; for…

单选题:以下语句输出的结果是?

Luz5年前 (2021-05-10)1057
以下语句输出的结果是?@[A](2)``` String str="123"; int x=4,y=5; str = str + (x + y); System.out.println(str);```A. 1239B. 12345C…