摘要: 1、继承Thread 2、实现Runnable接口 由于java规定只能单继承,所以为了满足多线程要求可以继承Runnable接口 3、线程运行的随机性 阅读全文
posted @ 2018-06-09 07:46 大象老师 阅读(136) 评论(0) 推荐(0) 编辑