Happy to see your explanation...

jabber (jabber)
I cooked up this example as I tried to help one of my colleagues to debug his code.
Most of us know that a Thread cannot be started more than one time....But my friend did make such a mistake in his code: try to restart a thread after it have been dead (run() method has been returned).

No mistake is stupid. But a good programmer should be good at learning lessons from other's mistakes...
2000-11-12 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Toy code for Java Thread

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT杂谈