可学答题网 > 问答 > 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)题库