创建线程

mac2022-06-30  27

Thread t2= new Thread(new Runnable() {   @Override public void run() {     for ( int i =0; i <1000; i ++) {        System.out.print ('0');      }   } }); t2.start();

转载于:https://www.cnblogs.com/ppCola/p/10198507.html

最新回复(0)