http://blog.sina.com.cn/s/blog_a8aa82cc0101ktrm.htmlhttp://wenku.baidu.com/view/c242df69011ca300a6c39077.htmlThread 与 Runnable 区别?(Thread类继承了Runnable的接口)在程序开发中只要是多线程肯定永远以实现Runnable接口为主,因为实现Runnable接口相比继承Thread类有如下好处:->避免点继承的局限,一个类可以继承多个接口。->适合于资源的共享1 一个父类,java只支持单继承,但是可以实现多个接口(Thread的一个缺陷)2 实现 Read More
posted @ 2013-07-16 17:31 墙头一颗草 Views(237) Comments(0) Diggs(0) Edit