public class Rectangle { public int length; public int width; public Rectangle(int Length, int width) { this.length=length; this.width=width; } public int getArea() { return length * width; } public int getPerimeter() { return 2* (length + width); } }