This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
First off, under the Add Reply button are ten buttons. One of them is the CODE button which will put CODE tags in your post, where you can paste your code in there and it will remain formated, it will keep its indentation which makes things easier to read.
It prints in reverse order because it calls another constructor first before it does the printouts.
So if you call the no args constructor, it first calls the two arg constructor, which then calls the three args constructor, runs 3's printout, then returns to the 2 arg constructor to its printout of "2", then back to the no args constructor, and there it prints its "1"