多线程的三种方式

来源:互联网 发布:dede 修改服务器域名 编辑:程序博客网 时间:2024/05/06 21:58

1.继承Thread类
2.实现Runnable接口
3.实现Callable接口 并且需要线程池的支持

0 0
原创粉丝点击