class Rectangle { int width; int height; public Rectangle(int initWidth, int initHeight) { width = initWidth; height = initHeight; } void setWidth(int newWidth ) { width = newWidth; } void setHeight(int newHeight ) { height = newHeight; } int getWidth() { return width; } int getHeight() { return height; } int area() { return width * height; } }