Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic Detail
Difference between Start and run method in Java thread
Since start() method calls run() method indirectly, programmer often ask why not directly call run method. well difference between calling run from sthttp://javarevisited.blogspot.com/2012/03/difference-between-start-and-run-method.html
Total Hits: 3691
Total Votes: 150 votes
Average Rating: 2.55 out of 5
Category: JAVA/Core JAVA
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.Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
25 |
![]() ![]() |
![]() ![]() 16% |
24 |
![]() ![]() ![]() |
![]() ![]() 17.33% |
26 |
![]() ![]() ![]() ![]() |
![]() ![]() 16% |
24 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 18% |
27 |




16.67%

16%

17.33%

16%

18%