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.
Please share your understanding about the start and run method in a Thread Thread t t.start()or t.run() Its basic that we can call direct run() method of the runnable interface and call start method of the Thread class. But I want to know wether there is specific rule for them or they are same.
Dream!!! Set Vision !! Transform Vision to Mission by Actions on Deadlines!.
the start() method , creates a new call stack and put this thread in new state. But the run() methods has the job or the stuffs needs to be executed in a seperate thread. This method doesnt create a new thread. When a thread goes to running state then it executes the statements in the run method.