This commit is contained in:
gwg313 2026-04-20 23:04:31 -04:00
parent 316cf8c1d6
commit e5aef8679f
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
159 changed files with 1141 additions and 1100 deletions

View file

@ -0,0 +1,11 @@
## How do the **`wait()`** and **`notify()`** methods interact?
---
🛑
- **`wait()`**: Causes the current thread to block and enter the **Waiting** state.
- **`notify()` / `notifyAll()`**: Invoked by _another_ thread to move the waiting thread(s) back to the **Runnable** state.