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.
Because the closing brace of setPrice() is missing.
A good programmer's editor or IDE would point out this kind of problem very quickly. A simple editor that knows how to do Java code formatting would work well enough -- the missing brace would mess up the formatting.