234 From another thread, what provides the most reliable way to ensure that foo will stop executing
問題詳情
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();