Blogger

Delete comment from: Javarevisited

@Anonymous, You are absolutely correct. If we join in that sequence order would be T3, T2 and T1.

Correct answer should be T3.T2.T1 means T2.join() from T3 and T1.join() from T2. In this case T1 will finish first followed by T2 and T3.

Feb 14, 2013, 7:48:47 AM


Posted to How to Join Multiple Threads in Java? [Thread.join() Example]

Google apps
Main menu