6

测试

测试

  • 多线程
1
2
3
4
5
6
7
public class MyThread extends Thread { 
  public void run() { 
    System.out.println("MyThread.run()");
    }
}
MyThread myThread1 = new MyThread(); 
myThread1.start();

测试

0%