I am trying to introduce the sleep() command into my java code.
The existing program runs without the sleep command but I have
I therefore want to send my threads to sleep for different lengths of time.
I have used the following
public void run()
for (index1 = START; index1<END; index1++)
My problem is that I can get it to compile ok but when I execute it throws a
whole host of errors.
Can anyone help?
What am I doing wrong?
The only outcome of my current sleep() call is lack of sleep on my part