Name
java.lang.Runnable
Synopsis
This interface is identical to the Runnable
interface in J2SE. It consists of only one method,
run()
, which is often used in conjunction with
threads.
public interfaceRunnable
{ // methods public voidrun
(); }
Get Wireless Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.