1.

What Is The Difference Between Thread.start() & Thread.run() Method?

Answer»

THREAD.start() method (native method) of Thread CLASS actually does the job of RUNNING the Thread.run() method in a thread. If we directly call Thread.run() method it will executed in same thread, so does not solve the purpose of CREATING a new thread.

Thread.start() method (native method) of Thread class actually does the job of running the Thread.run() method in a thread. If we directly call Thread.run() method it will executed in same thread, so does not solve the purpose of creating a new thread.



Discussion

No Comment Found