234 
From another thread, what provides the most reliable way to ensure that foo will stop executing wait()?
(A) foo.notify();
(B) bar.notify();
(C) foo.notifyAll();
(D) Thread.notify();
(E) bar.notifyAll(); (AB) Object.notify();

(A) foo.notify();
(B) bar.notify();
(C) foo.notifyAll();
(D) Thread.notify();
(E) bar.notifyAll();
答案:登入後查看
統計: A(3), B(2), C(3), D(2), E(10) #2195105
統計: A(3), B(2), C(3), D(2), E(10) #2195105