摘要:
Thread类的实现class MyThread extends Thread{private int time;public MyThread (String name,int time){ //设置线程的名称和休眠时间;super(name);//得到线程的名称this.time = time;... 阅读全文
摘要:
Thread类的实现class MyThread extends Thread{ private int time; public MyThread (String name,int time){ //设置线程的名称和休眠时间; super(name); //得到线程的名称 this.ti... 阅读全文