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