测试类:
程序入口
public class ThreadTest1 {
public static void main(String[] args) {
Thread1 t = new Thread1();
t.start();
for (int i = 0; i < 10; i++) {
System.out.println("---疑是地上霜---"+i);
}