@@ -0,0 +1,504 @@
+/**%0A * Created by nadia on 02/10/2016.%0A */%0Apublic class Square extends Rectangle %7B%0A%0A    private double length ;%0A%0A    public Square(double length, double width) %7B%0A        super(length, width);%0A    %7D%0A    public Square(double length) %7B%0A       this.length= length;%0A    %7D%0A%0A    @Override%0A    public double perimeter() %7B%0A        return 4*length;%0A    %7D%0A%0A    @Override%0A    public double surface() %7B%0A        return length*length;%0A    %7D%0A%0A    @Override%0A    public double getLength() %7B%0A        return length;%0A    %7D%0A%7D%0A

ADD CLASS SQUARE