All pastes #475249 Raw Edit

Miscellany

public java v1 · immutable
·published 2007-05-07 10:25 UTC
rendered paste body
public class ThreadTester implements Runnable {    public void run() {        System.out.println("Hello from a thread!");    }    public static void main(String args[]) {      //  (new Thread(new ())).start();        (new Thread(new SecondTester())).start();        (new Thread(new ThreadScanner())).start();    }}