Skip to content
目录概览

创建线程有哪几种方式?

3种方式:

  • 继承 Thread 重新 run 方法;
  • 实现 Runnable 接口;
  • 实现 Callable 接口;