The run() method belongs to the Runnable interface. It is used to instantiate a new thread.
The signature of the run() method is as follows:
The run() method is very similar to the main() method, as it is the entry point for a thread. The run() method can be called either directly or through the start() method, in which case a new thread will be started. Calling the run() method directly does not start a new thread.
When a thread comes out of the run() method, it is said to be dead. Once dead, it cannot be restarted by any means.
- Click here to download master-ciw-enterprise-developer test study guide and practice question.
- Click here to get free scbcd SCBCD exam practice questions.
- Become SUN SCDJWS certified.
- Download free practice test for SUN SCJP exam.
- Pass SCJP 5/6 in first attampt.
- Click here to get free scmad SCMAD exam practice questions.
- Download free practice test for SUN SCWCD exam.
- Download free practice test for SUN SCJP 1.4 Upgrade exam.
- Get certified in first attempt download CX310-055 - Java 5.0 simulation.
- Best exam simulation SUN CX310-056 download free trial.
- Pass SCJP 6.0 in first attampt.
- Become SUN SCJP Upgrade certified.