start() method is used to start a newly created thread, while start() internally calls run() method, there is difference calling run() method directly.
When you invoke run() as a normal method, it's called in the same thread, no new thread is started, which is the case when you call the start() method.
No comments:
Post a Comment