** Taken from Core Web Programming from * Prentice Hall and Sun Microsystems Press, * © 2001 Marty Hall and Larry Brown; * may be freely used or adapted. */ public class ThreadClass extends Thread { public void run() { // Thread behavior here. } }
Template illustrating the first approach for creating a class with thread behavior.
Permanent link to this article: http://bangla.sitestree.com/template-illustrating-the-first-approach-for-creating-a-class-with-thread-behavior/