public class Square extends Rectangle { Square(double x) { super(x, x); } }