package shapes; public class Rectangle { int height; int width; public Rectangle() { height = 1; width = 1; } public int getHeight() { return height; } public void setHeight(int newHeight) { height = newHeight; } // getWidth() and setWidth() methods go here }