// A Square IS-A Shape, that is, it is the same as a Shape except...
public class Square extends Shape {
	private double width;
	// OVERRIDE getArea() method in our superclass
	public double getArea(){ 
		double area;
		area=width*width;
		return(area);
	}

	// OVERRIDE getPerimeter() method in out superclass
	public double getPerimeter(){ 
		double perimeter;
		perimeter=4*width;
		return(perimeter);
	}

	public Square(double width){ this.width=width; }
}
