填空题

Java线程组把一个线程看做一个 【8】 进行同一处理。

【参考答案】

对象
<上一题 目录 下一题>
热门 试题

单项选择题
下列程序的输出结果为( )。 public class Reentrant public synchronized void a() b(); System.out.println( here I am, in a() ); public synchronized void b() System.out.println( here I am, in b() ); public static void main(String args[ ]) Reentrant r=new Reentrant(); r.a();
A.here I am, in a()/here I am, in b()
B.hereI am, in b()/here I am, in a()
C.here I am, in a()
D.here I am, in b()
单项选择题
有如下代码段 public class OperatorAndExceptions public static void main(String args[ ] int i=10,j=15; System.out.println(i==j); String s1 = new String( how are you! ); String s2=new String( how are you! ); System.out.println(s1==s2); 其输出为( )。
A.true false
B.true true
C.false true
D.false false
相关试题
  • 现在有Java Applet小程序的源程序文件MyAp...
  • 有如下代码片段,请在画线处填入正确的代码...
  • 下面ChangeTitle()中对b1和b2按键构造...
  • 下列JApplet使用重写paintCompon6t()方...
  • 编写同时具有Applet与Application特征的程...