线程是一个程序里面不同的执行路径public class TestThread1 public static void main(String args) Runner1 r = new Runner1();/r.start();/r.run();Thread t = new Thread(r);t.start();for(int i=0; i0)System.out.println(“in thread main i=“ + i);System.out.println(“Thread main is over“);r.shutDown();/t.stop();class Runner4 implements Runnable