Answer: A newly created thread is started when the start() method is called, and then the run() method is called inside start(). This is different from calling the run() method directly. Calling the run() method directly is just calling in the original thread, without creating a new thread. A new thread is created only if start() is called
What is the difference between the start() method and the run() method in the Thread class?
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325341198&siteId=291194637
Recommended
Ranking