Java Multi-Threading Question:
Download Questions PDF

What happens if we invoke run method without calling the start method for a thread instance?

Answer:

If we instantiate a thread it is called in new state until the Start() method is called.
If we don't call a start() method for that thread instance, the thread is not called alive.
If we invoke run method without calling the start method for a thread instance, the code in run() method wil not be executed by a new thread but it will be executed by the existing thread only.

Download Java Multi-Threading Interview Questions And Answers PDF

Previous QuestionNext Question
What is difference between thread and process?What are the advantages or usage of threads in Java?