目录 1、继承Thread类 2.实现Runnable 3.使用Callable和Future创建线程 4.使用Executor创建线程池 1、继承Thread类 2.实现Runnable 3.使用Callable和Future创建线程 4.使用Executor创建线程池