When one thread calls the join() method of another thread, the currently
running thread will wait until the thread it joins with has completed.
Originally posted by robert stannard:
I think the problem with your Join is that you are joining to the Main thread and not joining one thread to another, so what happens is that the Main thread runs and completes and then the other threads run on after the other in not particular order.
I also struggle with Thread questions and am hoping that I dont have too many difficult ones !
Originally posted by Frank Zito:
does this help (modifies main method though) ?