/****************************************************
 * 
 * @author Sun
 * http://java.sun.com/docs/books/tutorial/essential/concurrency/runthread.html
 *Subclass Thread. The Thread  class itself implements Runnable, 
 *though its run method does nothing. An application can subclass Thread, 
 *providing its own implementation of run, 
 *as in the HelloThread example:
 */
public class HelloThread extends Thread {

    public void run() {
        System.out.println("Hello from a generated in HelloThread main!");
    }

    public static void main(String args[]) {
        (new HelloThread()).start();
    }

}