title: Coding Conventions - Naming Enums
body: <p>Is there a convention for naming enumerations in Java?</p>
  
  <p>My preference is that an enum is a type.  So, for instance, you have an enum </p>
  
  <pre><code>Fruit{Apple,Orange,Banana,Pear, ... }
  
  NetworkConnectionType{LAN,Data_3g,Data_4g, ... }
  </code></pre>
  
  <p>I am opposed to naming it:</p>
  
  <pre><code>FruitEnum
  NetworkConnectionTypeEnum
  </code></pre>
  
  <p>I understand it is easy to pick off which files are enums, but then you would also have:</p>
  
  <pre><code>NetworkConnectionClass
  FruitClass
  </code></pre>
  
  <p>Also, is there a good document describing the same for constants, where to declare them, etc.?</p>