Difference between Start and run method in Java thread
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 9066
Total Votes: 91 votes
Category: JAVA/Core JAVA
Submitted on: 2012-07-14 14:24:34
Submitted By: Javin Paul
Description:Since start() method calls run() method indirectly, programmer often ask why not directly call run method. well difference between calling run from start() and run() is that, start first creates a new thread and then call run() method on new thread while if you call run() method directly than it will be called on same thread and no new thread will be created. More detail...