java 多线程

一个类继承Thread,则不适合资源共享。但是如果实现了Runable接口的话,则很容易的实现资源共享

原文地址:https://www.cnblogs.com/gonT-iL-evoL-I/p/10002353.html