摘要: 实现多线程的两种方式: 1、继承Thread类,重写run方法 2、实现Runnable接口,实现run方法。【推荐,实现接口之外保留了类的继承】 阅读全文
posted @ 2017-04-19 16:22 bookwed 阅读(146) 评论(0) 推荐(0)