创建执行线程有两种方法:
继承 Thread 类
Thread
实现 Runnable 接口
Runnable
继承 Thread 类的方法创建线程
test
← Zookeeper的基本使用 JavaSE之单例模式→