随笔分类 -  多线程

摘要:1.Thread类 继承Thread类,重写run()方法 public class ThreadDemo { public static void main(String[] args) { MyThread thread = new MyThread(); thread.start(); } } 阅读全文
posted @ 2020-07-09 22:31 马晟 阅读(75) 评论(0) 推荐(0)