62,614
社区成员
发帖
与我相关
我的任务
分享
public class test4
{
private test4 test;
public test4(){
test=new test4();
}
public static void main(String[] args){
new test4();
}
}
public class mythread implements Runnable
{
private Thread thread;
public void run(){
thread=new Thread(new mythread());
}
}
public class test
{
public static void main(String[] args){
while (true)
{
Thread thread=new Thread(new mythread());
thread.start();
}
}
}