import java.util.ArrayList;
import java.util.List;
public class ListShape
{
   public static void main(String[] pArgs)
   {
       List tList = new ArrayList();
       Shape tShape = new Shape(100, 200);
       tList.add(tShape);
       Circle tCircle = new Circle(100, 200, 10);
       tList.add(tCircle);
       Shape tShapeGet0 = (Shape)tList.get(0); 
       System.out.println(tShapeGet0);
       Shape tShapeGet1 = (Shape)tList.get(1); 
       System.out.println(tShapeGet1);
       tList.add("hello world");
       Shape tShapeGet2 = (Shape)tList.get(2); 
       System.out.println(tShapeGet2);
   }
}
