This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
You see, the currentThread (main thread) is being passed to the createThread method. Inside createThred method a new thread t2 is created. The run method of t2 is implemented such as it waits for thread t1 to finish, because of t1.join statement. The t1 actually is main thread. T2 will finish last, always. The last print statement in T2 is 12.