阿摩線上測驗 登入

試題詳解

試卷:無年度 - SCJP 6.0 認證教戰手冊第二版 SCJP 6.0 認證教戰手冊第二版 認證教戰手冊第二版_題庫 201-244#83084 | 科目:OJCP(SCJP)

試卷資訊

試卷名稱:無年度 - SCJP 6.0 認證教戰手冊第二版 SCJP 6.0 認證教戰手冊第二版 認證教戰手冊第二版_題庫 201-244#83084

科目:OJCP(SCJP)

220 Which factor or factors 
 1. It is possible for more than two threads to deadlock at once. 
 2. The JVM implementation guarantees that multiple threads cannot enter into a deadlocked state. 
 3. Deadlocked threads release once their sleep() method's sleep duration has expired. 
 4. Deadlocking can occur only when the wait(), notify() and notifyAll() methods are used incorrectly. 
 5. It is possible for a single-threaded application to deadlock if synchronized blocks are used incorrectly. 
 6. If a piece of code is capable of deadlocking, you cannot eliminate the possibility of deadlocking by inserting invocations of Thread.yield().
(A) 16
(B) 25
(C) 34
(D) 12
正確答案:登入後查看