title: When should I use the final keyword instead of enums?
body: <p>I had the following field in my code:</p>
  
  <pre><code>private static final int NUM_NANOSECONDS_IN_MILLISECOND = 1000000;
  </code></pre>
  
  <p>I was told that I should be using an enum for this for type safety.  This is not something I am familiar with.  But if this is the case, I don't know when it would ever be appropriate to use the final keyword on a field.</p>
  
  <p>When should I use the final keyword instead of enums?</p>