HI, In the below code i can understand that their are two threads running one is main and the another one is the user created.The user created will go to run method once if start is given to it and will die once it leaves the run method.Then how can "tt.loop" will be executed???
In the output it shows that it will be executed by main.How can main will execute it when that method is called by the user created thread reference??
Biswajit, I took the unusual step of removing the [ code ] tags from your post, because you didn't have any newlines in there. It was just one huge line of code that was forcing the rest of the page to be far too wide. If you want, you can re-edit it to include both [ code ] tags and newlines.
"I'm not back." - Bill Harding, Twister
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop