title: Enum as instance variables
body: <p>If you have an enum such as</p>
  
  <pre><code>enum Coffee {
      BIG,
      SMALL
  }
  </code></pre>
  
  <p>and a class that has an instance variable like this of the enum:</p>
  
  <pre><code>public class MyClass {
      private Coffee coffee;
  
      // Constructor etc.
  }
  </code></pre>
  
  <p>Why is it possible in the constructor to say e.g. <code>coffee.BIG</code>?
  I don't understand that you can use the reference? Is enum as instance variables initialized to something other than <code>null</code>? It is the self test question #4 in the SCJP book in the first chapter. <em>I tried to shorten the code and question.</em></p>