Runnable Interface
So far, we have been extending Thread
Public class myThread extends Thread
Alternately, we can implement Runnable
public class myObj extends Object implements Runnable
Useful for multithreaded applets
Previous slide
Back to first slide
View graphic version