But Class a itself is a thread...then why wud it not have any effect....
even though the Thread creation method used is the one that is used when the class implements Runnable it wont overshadow the fact that a is a thread and any method in the thread class invoked on t can also be invoked on a ..Please correct me if am wrong...
Joined: Oct 16, 2008
Here a.start() is not called, so thread a is not running, class a' run() is just the target of thread t, actual thread that is running in its own stack is threat referenced by t.
Joined: Jan 01, 2009
Oh Punit..sorry buddy...i dint see that..i just saw that the class extends Thread and put up a dumb show...really sorry