public class Rectangle { int top; int left; int width; int height; public Rectangle(int top, int left, int width, int height) { this.top = top; this.left = left; this.width = width; this.height = height; } public Rectangle(int top, int left, int width) { this.top = top; this.left = left; this.width = width; } public Rectangle(int top, int left) { this.top = top; this.left = left; this.width = 0; this.height = 0; } public Rectangle(int top) { this.top = top; } public static void main(String[] args) { Rectangle original = new Rectangle (1, 1, 5, 5); Rectangle copy = new Rectangle (original); } }