Thread线程线程创建方式
继承Thread类
实现Runnable接口
实现Callable接口,Callable接口可以通过实现call()方法实现方法运行,并通过FutureTask来获取返回结果
// 通过继承Thread类实现
2021-12-15