?? mythread1.java
字號:
public class MyThread1 extends Thread{
public void run(){
for(int a=0;a<50;a++) {
yield();
System.out.println(Thread.currentThread().getName()+" "+a);
}
}
public static void main(String args[]){
MyThread1 t1=new MyThread1();
MyThread1 t2=new MyThread1();
t1.start();
t2.start();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -