java实现多线程三种方法

1、继承Thread类,重写run方法

2、实现Runnable接口,重写run方法

3、实现callable接口,重写call方法

posted @ 2016-03-21 09:19  hy_ag  阅读(151)  评论(0编辑  收藏  举报