title: How to use an instance variable twice without renaming it?
body: <p>Help, I just started learning Java, and this online tutorial I am doing is asking me to create an instance that belongs to a class. This instance is supposed to be created as a "Rectangle" object first, then later as a "Circle" object. But Eclipse is asking me to rename the second "drawObject".</p>
  
  <pre><code>public class TestPolymorph {
  
      public static void main(String[] args) {
  
          Shape drawObject = new Rectangle(40,60);
          drawObject.draw();
  
          Shape drawObject = new Circle(40);
          drawObject.draw();
  
      }
  }
  </code></pre>