Thread Construction - Example
public class Printer implements Runnable {
protected String _text;
public Printer(String text) {
_text = text;
}
public void run() {
System.out.println(_text);
}
}
Previous slide
Next slide
Back to first slide
View graphic version