java 多线程
package test.run;
public class testRun {
public static void main(String[] args) {
Thread td1 = new Thread( new Runnable() {
public void run() {
exit:for(int i = 1 ; i<100;i++){
for (int j=0;j<i;j++){
if(j == 10){
break exit;
}
System.out.println("多线程测试"+j);
}
}
}
});
td1.start();
}
}