title: How to declare an enum properly Java
body: <p>I tried to declare an <code>enum</code> for the first time in Java, as following:</p>
  
  <pre><code>public enum Atom_const{
      public final float HIDROGEN_RADIUS=.1f;
      public final float CARBON_RADIUS=.28f;
  }
  </code></pre>
  
  <p>Eclipse gives me an error <code>"Syntax error on token "{", ; expected"</code>, however I have never seen syntaxes like "{;" before, neither have I seen this in <code>enum</code> examples. So what is the proper way to declare an <code>enum</code>?</p>
  
  <p>I did look on <a href="http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html" rel="nofollow">http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html</a> but no ; is after the {. I suspect this happens because I make the assignments, but I'm not sure of that.</p>