title: Plolymorphism in a nutshell
body: <p>Im going to try and keep this real basic, but I want to make sure my understanding of polymorphism is correct...using a basic example. Dont judge my actual code as I'm just starting out with Java ;)</p>
  
  <p>I have a base class "Animal" and 2 subclasses "Tiger" and "Turtle".  Animal has a method Feed().  both Tiger and Turtle impement Feed() with their own instructions.</p>
  
  <p>If i have a program called ZooKeeperTasks and in that program I have the following code</p>
  
  <pre><code>// animals[] is an array of Animal. 
  // assume that it contains both tigers and turtles
  {
      for(int i = 0; i &lt; animals.length; i++) {
          animals[i].Feed();
      }
  }
  </code></pre>
  
  <p>Isnt this polymorphism in a nutshell??  Calling feed without knowing the actual datatype of the array elements?</p>