/********************************
 * 
 * @author Sun
 * http://java.sun.com/docs/books/tutorial/essential/concurrency/runthread.html
 *Provide a Runnable object. The Runnable  interface defines a single method, run, 
 *meant to contain the code executed in the thread. The Runnable  object is passed 
 *to the Thread constructor, 
 *as in the HelloRunnable example:
 */
public class HelloRunnable implements Runnable {

    public void run() {
        System.out.println("Hello from a thread from runnable object !");
    }

    public static void main(String args[]) {
        (new Thread(new HelloRunnable())).start();
    }

}
