001package factory.shape5;
002public interface Shape {}
003class Ellipse implements Shape {
004        public String toString() {
005                return "Ellipse";
006        }
007}
008class Rectangle implements Shape {
009        public String toString() {
010                return "Rectangle";
011        }
012}