public class Driver
{
	public static void main(String args[])
	{
		Shape[] aBunchOfShapes;

		Shape myShape;   // this is okay!
		//	myShape = new Shape ();  // this is not okay
	
		aBunchOfShapes = new Shape[4];
	
		aBunchOfShapes[0] = new Point(3,4);
		aBunchOfShapes[1] = new StraightLine(3,4,8,8);
		aBunchOfShapes[2] = new Point (-1, -5);
		aBunchOfShapes[3] = new Square(3);
		
		for (int i = 0; i < aBunchOfShapes.length; i++)
		{
			System.out.println(aBunchOfShapes[i]);
		}
	}
}