Question: How does the wait-notify mechanism work in Java?Answer: wait() and notify() are methods used for inter-thread communication. wait() makes a thread wait until another thread invokes notify() or notifyAll(). |
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users: