package com.snake.test;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;
/**
- @Author Snake
- @Date 2019/11/24 14:21
- @Version 1.0.0
*/
public class myTest {
public static void main(String[] args) {
ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newFixedThreadPool(5);
executor.execute(new Runnable() {
@Override
public void run() {
}
});
}
}