Thread td = new Thread(){
public void run(){
//do someting
Thread.sleep(1000);
///// do something
td.stop();
}
};
public static void main(String[] args){
//do someting this line
td.start();
/////do new someting this line
td.start();
}
当我启动程序时,我想做1.> 2.> 2.1> 3。> 4我该怎么做
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句