J
Jack Dowson
Hello Everybody:
As we all know there are two ways to create a thread,one is by
inheriting class Thread another is by implementing interface Runnable.
An instance created by class Thread can not be reused while the one
created by interface Runnable could.Why?I think it has nothing to do
with java's single inherit or multi interface implement.If it really
does,how does this rule work then?
Any help will be greatly appreciated!
Dowson!
As we all know there are two ways to create a thread,one is by
inheriting class Thread another is by implementing interface Runnable.
An instance created by class Thread can not be reused while the one
created by interface Runnable could.Why?I think it has nothing to do
with java's single inherit or multi interface implement.If it really
does,how does this rule work then?
Any help will be greatly appreciated!
Dowson!