title: when declare final instance why i must initialize it?
body: <p>I am getting error <strong><em>Variable "type" might not have been initialized</em></strong> for the following code:</p>
  
  <pre><code>public class Ingredient {
  
      private final String  id;
      private final String name;
      private final Type type;
  
      public static enum Type {
          WRAP, PROTEIN, VEGGIES, CHEESE, SAUCE
      }
  
      ... 
  
  }
  </code></pre>
  
  <p>Can someone explain why?</p>