Java join() concept : <p>See my code in with <a href="http://collabedit.com/92yma" rel="nofollow">link</a>. My understanding with join concept is that if I created a thread "t2" in main thread. And I am writing like t2.join(). Than first all things under run method of t object will be executed than execution of main thread will be started back. But if I have created one more thread "t1" in main thread before "t2". At that time "t2"'s execution should be done first and than "t1"'s. Correct? But if you see in my linked code. t1 and t2 runs simultaneously. Why is it so? </p>
