qq_笑_17
有的,main就是父线程,Thread t就是子线程public static void main(String[] args) throws InterruptedException { Thread t = new Test1(); t.start(); Thread.sleep(5000); System.out.println("Main End"); }