001package factory.shape4.main;
002import factory.shape4.Shape;
003import factory.shape4.ShapeFactory;
004public class Main {
005        public static void main (String[] args) {
006                Shape[] a = new Shape[2];
007                a[0] = ShapeFactory.newCircle(1);
008                a[1] = ShapeFactory.newSquare(1);
009        }
010}