SyntaxFix
Write A Post
Hire A Developer
Questions
If you do run() in main method, the thread of main method will invoke the run method instead of the thread you require to run.
run()
run
The start() method creates new thread and for which the run() method has to be done
start()