title: Is it possible to assign numeric value to an enum in Java?
body: <p>Is anything like this possible in Java? Can one assign custom numeric values to enum elements in Java?</p>
  
  <pre><code>public enum EXIT_CODE {
      A=104, B=203;
  }
  </code></pre>