No. Not unless you put something else in A to keep it alive. But if starting B was the very last thing in A's run() method, then there's no reason for A to stay alive after that.
It could stay alive, but it's uncertain the behavior of these two threads. If you want that Thread A remain alive while Thread B it's running the you have to join them with Thread.join. [ December 24, 2008: Message edited by: Angel Taveras ]
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
Gift giving made easy with the permaculture playing cards