public class MyThread extends  Thread {     public void run() {         System.out.println("mythread运行了....");         Thread t1=Thread.currentThread();         System.out.println(t1.getName());     }     public static void main(String[] args) {         MyThread t=new MyThread();         t.run();         t.start();     } } mythread运行了.... main mythread运行了.... Thread-0 先run()后start(),run()就是普通方法,因为没有获取到CPU时间片