class RectangleTest{
public static void main(String[] args)
{
//create a object named rect1
Rectangle rect1 = new Rectangle(10, 10);
//set the width to be 20, length to be 30 by calling setLength and setWidth
System.out.println("The rect1's length is " + rect1.getLength() + ", the rect1's with is " + rect1.getWidth());
rect1.setLength(30);
rect1.setWidth(20);
//set the width to be 20, length to be 30 by calling setLength and setWidth
System.out.println("The rect1's length is " + rect1.getLength() + ", the rect1's with is " + rect1.getWidth());
}
}