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

Which two statements&#8194


Which two statements are true?()

  • AIt is possible for more than two threads to deadlock at once.
  • BThe JVM implementation guarantees that multiple threads cannot enter into a deadlocked state.
  • CDeadlocked threads release once their sleep() method’s sleep duration has expired.
  • DDeadlocking can occur only when the wait(), notify(), and notifyAll() methods are used incorrectly.
  • EIt is possible for a single-threaded application to deadlock if synchronized blocks are used incorrectly.
  • FIf a piece of code is capable of deadlocking, you cannot eliminate the possibility ofdeadlocking by insertinginvocations of Thread.yield().
参考答案
参考解析:
分类:OCJP(310-065)题库