問題詳情

234  5e4e17ae849b1.jpg
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();

參考答案

無參考答案

內容推薦

內容推薦