Thread threads[]=new Thread[100];
for(int i=0;i<100;i++){
threads[i]=new Thread(//put some runnable here );
threads[i].start();
}
Java 如何自动创建多个Thread 线程
猜你喜欢
转载自blog.csdn.net/weixin_40003295/article/details/81179182
今日推荐
周排行