Thread Lifecycle Threads are objects and as such are created the same way other Java objects are created. This causes the scheduler to call the thread's run method. Contrast this to the multiprocessor case, where several threads could run in parallel. Any running thread called suspend . Implement the Runnable interface.
Any class can implement the Runnable interface while extending another class.
In this section we will examine the use of threads to run applets. First we write an applet class and then write a thread class. The code demonstrates the running of applets as threads. In the above example we show how an applet class can implement the Runnable interface. The Thread constructor stores this reference in an instance variable called target .