public class ShapeDriver { public static void main(String args[]) { int i; Shape Shapes[] = new Shape[5]; Shapes[0] = new Circle(); Shapes[1] = new Circle(); Shapes[2] = new Square(); Shapes[3] = new Circle(); Shapes[4] = new Square(); for (i=0; i<5; i++) Shapes[i].draw(); } }