摘要:
package bao;class MyThread extends Thread {boolean stopped;MyThread(ThreadGroup tg, String name) {super(tg, name);stopped = false;}public void run() {System.out.println(Thread.currentThread().getName() + " starting.");try {for (int i = 1; i < 1000; i++) { System.out.print(".") 阅读全文