public class PrintThread extends Thread { private String message;
public PrintThread(String message) { super(); this.message = message; }
public void run() { for(int i=0;i<10;i++) { System.out.print(message); } }
public static void main(String[] args) throws IOException { new PrintThread("good").start(); } } ,一个 start()都很深奥! https://www.cnblogs.com/dongguangming/p/12683579.html