1.

What Is Difference Between Starting Thread With Run() And Start() Method?

Answer»

When you call start() method, MAIN thread INTERNALLY CALLS run() method to start newly created Thread, so run() method is ultimately CALLED by newly created thread.
When you call run() method main thread rather than starting run() method with newly thread it start run() method by itself.

When you call start() method, main thread internally calls run() method to start newly created Thread, so run() method is ultimately called by newly created thread.
When you call run() method main thread rather than starting run() method with newly thread it start run() method by itself.



Discussion

No Comment Found