摘要:
方式1:
public class LiftOff implements Runnable {
protected int countDown = 10;
private static int taskCount = 0;
private final int id = taskCount++;
public LiftOff() {
System.out.println("LiftOff Start:"+Thread.currentThread().getId());
}
public LiftOff(int countDown) {
this.countDown = countDown; 阅读全文
posted @ 2014-03-09 17:31
上校
阅读(338)
评论(0)
推荐(0)
浙公网安备 33010602011771号