title: java - How to add special character in enum?
body: <p>I have a problem here. I created SpecialCharacterField.java - an enum class that will list some special characters.</p>
  
  <p><b><code>SpecialCharacterField.java</code></b></p>
  
  <pre><code>package bp.enumfield;
  
  public enum SpecialCharacterField {
     +, #;
  }
  </code></pre>
  
  <p>In my eclipse on the line : <code>public enum SpecialCharacterField{</code> there is an error it says:      <code>Syntax error, insert "EnumBody" to complete EnumDeclaration</code></p>
  
  <p>Please help. Thanks in advance.</p>