Question 3, continued
public class Rectangle extends geometricObject{
public int length; // length of the rectangle
public int width; // width of the rectangle
public Rectangle(int userLength, int userWidth, String color){
public class Square extends Rectangle {
public Square(int side, String color) {
super(side, side, color);