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.
- Become SUN SCBCD certified.
- Download practice question and study guide for scdjws for exam.
- Download practice question and study guide for scjp for exam.
- Pass SCJP 5/6 in first attampt.
- Download free practice test for SUN SCMAD exam.
- Pass SCWCD in first attampt.
- Become SUN SCJP 1.4 Upgrade certified.
- Click here to get free CX310-055 Java 5.0 exam practice questions.
- Download practice question and study guide for CX310-056 for exam.
- Click here to download CX310-065 test study guide and practice question.
- Download practice question and study guide for CX310-066 for 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.
