可学答题网 > 问答 > OCJP(310-065)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given that Triangle im


Given that Triangle implements Runnable, and: Which two statements, inserted independently at both lines 35 and 41, tend to allow both threads totemporarily pause and allow the other thread to execute?()

  • AThread.wait();
  • BThread.join();
  • CThread.yield();
  • DThread.sleep(1);
  • EThread.notify();
参考答案
参考解析:
分类:OCJP(310-065)题库
相关推荐

1、Given that a static&en

Given that a static method doIt() in a class Work represents work to be done, what&ensp...

2、Given that the current

Given that the current directory is empty, and that the user has read and write privilege...

3、Given that the element

Given that the elements of a PriorityQueue are ordered according to natural ordering, and: Wh...

4、Given a method that&en

Given a method that must ensure that its parameter is not null:What, inserted at line 12...

5、Given that Triangle im

Given that Triangle implements Runnable, and:Which two statements, inserted independently at both line...

6、Given that session is&

Given that session is a valid HttpSession object:  Int max = session.getAttribute(MyReallyLongName);&...