Å
å…‰ ç½²
hi all, I have a Thread named r1 , why I can not write "
r1.start();r1.start();". when I write "r1.start(); r1.start();" there
was an error that "IllegalThreadStateException".
r1.run(){
public void run(){
System.out.println("name" + super.getName() + "---->" +
super.getI());
}
}
r1.start();r1.start();". when I write "r1.start(); r1.start();" there
was an error that "IllegalThreadStateException".
r1.run(){
public void run(){
System.out.println("name" + super.getName() + "---->" +
super.getI());
}
}