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.
Vinney Shanmugam wrote:To run a thread, we need to call start(). So run() method gets executed. But how it is accomplished?
I dont see any run() called from start() when i checked Thread.start() method implementation.
If you would have followed the called methods from Thread.start() you would have found a call to start0() which is a native method. The actual launching of the thread and calling of run() is done in native code.