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