Sheeshy Sipgrark
New member
Which method is called when thread is executed?
Answer
The
run() method
of thread class is called if the thread was constructed using a separate Runnable object otherwise this method does nothing and returns. When the run() method calls, the code specified in the run() method is executed.
Answer
The
run() method
of thread class is called if the thread was constructed using a separate Runnable object otherwise this method does nothing and returns. When the run() method calls, the code specified in the run() method is executed.