10 lines
No EOL
229 B
Markdown
10 lines
No EOL
229 B
Markdown
|
|
What two events cause a thread to **terminate** and release the processor permanently?
|
|
|
|
---
|
|
|
|
🏁
|
|
|
|
1. The **`run()`** method finishes its execution.
|
|
2. An **exception** is thrown that propagates beyond the `run()` method.
|
|
|