This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Um ... explain what? Does the code not do what you were expecting it to do? Then you should describe what you were expecting.
Joined: Jul 20, 2005
Hi Ulf, Actually I got little confused at line t.start(). I thought as soon as we call the start() method the run() will get executed. But now its clear that calling start() would actually put the thread in run mode and it depends on the JVM when to execute run().