摘要: 线程的创建 1.继承 private static class ThreadDemo1 extends Thread{ @Override public void run() { System.out.println("ThreadDemo1"); } } 2.实现接口 private static 阅读全文
posted @ 2021-04-28 22:28 二五树 阅读(44) 评论(0) 推荐(0) 编辑