TOC This Package Prev Next Index
public interface java.lang.Runnable
{
public abstract void run(); §1.63.1
}
A class implements the Runnable interface to indicate that its instances are intended to
be executed by a thread. All that is re
The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread (§1.19). The class must define a method of no arguments called run.
Thread (§1.19)
public abstract void run()
run() in class Thread (§1.19.30)