/* An instance of this class has a run() method that ** prints a meaningless string several times and is ** suitable to become the "resident runnable" of a ** thread. */ public class PrintGrisGrop implements Runnable { // Prints "GrisGrop" ten times, on separate lines. public void run() { for (int i=0; i != 10; i++) { System.out.println("GrisGrop"); } } }