Which two statements are true?()
A. It is possible for more than two threads to deadlock at once.
B. The JVM implementation guarantees that multiple threads cannot enter into a deadlocked state.
C. eadlocked threads release once their sleep() method’s sleep duration has expired.
D. eadlocking can occur only when the wait(), notify(), and notifyAll() methods are used incorrectly.
E. It is possible for a single-threaded application to deadlock if synchronized blocks are used incorrectly.
F. If a piece of code is capable of deadlocking, you cannot eliminate the possibility ofdeadlocking by insertinginvocations of Thread.yield().
查看答案
该试题由用户593****27提供
查看答案人数:49134
如遇到问题请
联系客服
正确答案
该试题由用户593****27提供
查看答案人数:49135
如遇到问题请联系客服