java - 多线程 - extends Thread or implements Runnable

the difference of abstract class Thread and interface Runnable -http://blog.csdn.net/zhikun518/article/details/7526298

http://blog.chinaunix.net/uid-20665441-id-310538.html

interface  Runnable - 资源共享  run()

class  Thread  - start()

猜你喜欢

转载自lxhahb.iteye.com/blog/2248880