Packages  This Package  Prev  Next  Index  
	§1.23 Interface Runnable
public  interface  java.lang.Runnable
{
        // Methods
    public abstract void run();	§1.23.1
}
The Runnable interface should be implemented by any class whose instances are intended to 
be executed by a thread (I-§1.19). The class must define a method of no arguments called 
run.
- 
- See Also:
  - Thread  (I-§1.19).
 
run
public abstract void run()
- When an object implementing interface Runnable is used to create a thread, 
starting the thread causes the object's run method to be called in that separately executing thread.
- See Also:
 - run in class  Thread  (I-§1.19.30).
 
 
Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com