title: Default Enumeration Methods
body: <p>An enum contains the name and <code>valueOf</code> methods. </p>
  
  <p>Agian we know that the Java Compiler automatically generates a static method for each enum, called values. </p>
  
  <p>This method returns an array of all constants defined inside the enum.</p>
  
  <p>As there is an <strong>static method values</strong>, then why should we use <code>name()</code> method? Then what are the difference between the static method <code>values()</code> and the <code>valueof()</code> method? </p>