一.管理 1.创建线程 Thread public class Main { public static void main(String[] args) { MyThread myThread = new MyThread(); myThread.start(); } } /** * 继承Thread来创建线程 * 缺点是不能再继承其他的类了 */ public class MyThread extends Thread { @Override public void run() { Syst…