?? othread.java
字號:
package homework;
public class OThread {
public static void main(String[] args){
Thread t1=new ThreadTest();
t1.start();
}
}
class ThreadTest extends Thread{
public void run(){
int count=1;
char xy='a';
for(int i=1;i<54;i++){
if(count>2){
System.out.print(xy++);//(":"+xy++);
//System.out.println();
count=1;
i=i-1;
if(i==52){
break;
}
}else{
System.out.print(i);//(count==2?i:i+",");
count++;
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -