예제 #1
0
 public static void Main(String[] args)
 {
     AreaDeDesenho area = new AreaDeDesenho();
     area.AdicionaFigura(new Retangulo(3, 4, 20, 50));
     area.AdicionaFigura(new Circulo(150, 45, 20));
     Application.Run(area);
 }
예제 #2
0
        public static void Main(String[] args)
        {
            AreaDeDesenho area = new AreaDeDesenho();

            area.AdicionaFigura(new Retangulo(3, 4, 20, 50));
            area.AdicionaFigura(new Circulo(150, 45, 20));
            Application.Run(area);
        }