摘要: 创建线程 1.继承Thread类,重写run()方法 public class ThreadCreateDemo1 { public static void main(String[] args) { MyThread thread = new MyThread(); thread.start(); 阅读全文
posted @ 2021-05-27 08:44 钟飞好运来 阅读(405) 评论(0) 推荐(0)