1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Merge pull request #2334 from smy1999/feat-05

Optimize expression.
This commit is contained in:
Guide 2024-03-21 16:47:13 +08:00 committed by GitHub
commit 38cebbc123
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -219,7 +219,7 @@ public ScheduledThreadPoolExecutor(int corePoolSize) {
### ThreadPoolExecutor 示例代码 ### ThreadPoolExecutor 示例代码
首先创建一个 `Runnable` 接口的实现类(当然也可以是 `Callable` 接口,我们上面也说了两者的区别。) 首先创建一个 `Runnable` 接口的实现类(当然也可以是 `Callable` 接口,我们后面会介绍两者的区别。)
`MyRunnable.java` `MyRunnable.java`