Skip to content

Commit 77a8071

Browse files
Update 停止線程.md
1 parent a0b42f6 commit 77a8071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Multithread/停止線程.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- 暫停當前正在執行的線程對象,並執行其他線程。
1616

1717
## Example
18-
```
18+
```java
1919
public class StopThread implements Runnable {
2020

2121
private boolean flag = true;//定義標記以停止線程

0 commit comments

Comments
 (0)