package lab1_decorator.ex2; public class Square extends Shape { private double size; public Square(double size) { this.size = size; } @Override public void draw() { System.out.println("Drawing a square"); } }