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.
- Pass Master CIW Enterprise Developer in first attampt.
- Get certified in first attempt download scbcd - SCBCD simulation.
- Best exam simulation SUN scdjws download free trial.
- Click here to get free scjp SCJP exam practice questions.
- Get certified in first attempt download scjp-5-0 - SCJP 5/6 simulation.
- Click here to download scmad test study guide and practice question.
- Download practice question and study guide for scwcd for exam.
- Become SUN SCJP 1.4 Upgrade certified.
- Download free practice test for CX310-055 Java 5.0 exam.
- Pass SCJP 5.0 Java Upgrade in first attampt.
- Pass SUN CX310-065 - SCJP 6.0
- Download free practice test for CX310-066 SCJP Upgrade exam.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.