Sunday, 24 April 2016

Thread.start() vs. Thread.run()


Thread.start() 
invokes Thread.run() of the thread.

If we directly call Thread.run() it will be executed in same thread, and will not be started as a new thread.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.