title: How is it possible to call methods of Enumeration
body: <p><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html#hasMoreElements()" rel="nofollow">Enumeration API</a></p>
  
  <p>In the example given in the Enumeration API there is the following example:</p>
  
  <pre><code>for (Enumeration&lt;E&gt; e = v.elements(); e.hasMoreElements();)
     System.out.println(e.nextElement());
  </code></pre>
  
  <p>But how can you call those methods on the elements of the vector while Enumeration is an iterface?<br>
  I mean these methods have no body (implementation)? </p>