Enums in java compile error
<p>I'm trying to learn java from bottom up, and I got this great book to read <a href="http://rads.stackoverflow.com/amzn/click/0071591060" rel="nofollow">http://www.amazon.com/o/ASIN/0071591060/ca0cc-20</a> . Now I found example in the book about declaring Enums inside a class but outside any methods so I gave it a shot :</p>

<pre><code>Enum CoffeeSize { BIG, HUGE, OVERWHELMING }; 
</code></pre>

<p>In the book its spelled <code>enum</code> and I get this compile message <code>Syntax error, insert ";" to complete BlockStatements</code></p>

<p>Are the Enums that important at all?I mean should I skip it or its possible that I will be using those some day?</p>
