摘要: 线程的两种实现形式? 1. implement Runnable 接口 2.extends Thread 创建线程 Thread thread = new Thread (Runnable 对象或Thread 类的对象) thread.start() 启动线程 如果要知道线程的名字 thread.s 阅读全文
posted @ 2019-06-25 23:33 <meng> 阅读(64) 评论(0) 推荐(0) 编辑