1. 首页
  2. 数据库
  3. 其它
  4. Java并发:基本的线程机制

Java并发:基本的线程机制

上传者: 2020-12-23 00:35:47上传 PDF文件 21KB 热度 13次
一、实现一个简单的线程 public class LiftOff implements Runnable{ protected int countDown = 10; private static int taskCount = 0; private final int id = taskCount++; public LiftOff() {} public LiftOff(int countDown) { this.countDown = countDown; } public
下载地址
用户评论