chuen abc wrote:
what do you mean by the start method?
Please see the api docs for the Thread class (that implements Runnable).
You could use the constructor:
public Thread(Runnable target)
It has a simple example on it, that leads up to the code:
PrimeRun p = new PrimeRun(143);
new Thread(p).start();
That way you would be able to print the statements in the run method.