1.

What Happens If We Invoke Run Method Without Calling The Start Method For A Thread Instance?

Answer»

1.If we instantiate a thread it is CALLED in new state until the Start() method is called.
2.If we don't call a start() method for that thread INSTANCE, the thread is not called alive.
3.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.

1.If we instantiate a thread it is called in new state until the Start() method is called.
2.If we don't call a start() method for that thread instance, the thread is not called alive.
3.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.



Discussion

No Comment Found