This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If you're using earlier than Java 1.5, then you'd expect line 14 to throw an error, because you're assigining an int to an Integer reference. Autoboxing allows that, but autoboxing was introduced in 1.5.
You do realise that if that line works it's a pointless statement, though?