ADD file via upload

master
pj3q7x5mz 2 years ago
parent 1235bda0dd
commit 71393b2dce

@ -0,0 +1,25 @@
package step1;
//请在此添加实现代码
/********** Begin **********/
public class ThreadClassOne extends Thread {
public void run(){
for(int i=1;i<10;i+=2){
System.out.print(i+" ");
}
}
}
class ThreadClassTwo implements Runnable{
public void run(){
for(int i=0;i<=10;i+=2){
System.out.print(i+" ");
}
}
public void start(){
}
}
/********** End **********/
Loading…
Cancel
Save