摘要: Thread java.lang.Thread,所有多线程都继承他。优点,简单。但继承他以后无法继承其他 Runnable接口稍微复杂,但不影响继承其他类(推介)。因为Thread类也是实现Runnable,所以直接调用该接口更好。 创建线程 (Thread) 自写一个类,继承于Thread,重写r 阅读全文
posted @ 2021-09-21 10:54 Ghose 阅读(20) 评论(0) 推荐(0)