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