多线程(1)
摘要:
java 编程思想-- 继承自Thread :package com.xtl.java;public class test extends Thread{ private int countDown = 6; private int threadCount = 0; private int threadNumber = ++threadCount; public test(int a ){ threadNumber = a; System.out.println("Making " + threadNumber ); } public void run(){ while(t 阅读全文
posted @ 2011-10-24 08:35 xtl 阅读(221) 评论(0) 推荐(0) 编辑