创建线程的方法

两种方法:

1、实现Runnable接口

2、继承Thread类并重写run()方法

原文地址:https://www.cnblogs.com/ARABYCHEN/p/10603036.html