摘要: 在java中,目前创建线程的一共有三种形式: 1. 使用Thread类创建线程 2. 使用Runnable接口创建线程 3. 使用Callable接口和Future类创建线程 使用Thread类创建线程: 使用Thread类创建线程是三种方法里面最简单的,因为直接继承了Thread类,当继承Thre 阅读全文
posted @ 2019-08-20 11:30 HJLのH 阅读(408) 评论(0) 推荐(0)