What is wrong with my code?
package com.codegym.task.task05.task0520;
/*
Create a Rectangle class
*/
public class Rectangle {
private int left = 0;
private int top = 0;
private int width = 0;
private int height = 0;
public Rectangle(int left, int top, int width, int height){
this.left = left;
this.top = top;
this.width = width;
this.height = height;
}
public Rectangle(int left, int top){
this.left = left;
this.top = top;
}
public Rectangle(int left, int top, int width){
this.left = left;
this.top = top;
this.width = width;
this.height = width;
}
public Rectangle(Rectangle copy){
this.left = copy.left;
this.top = copy.top;
this.width = copy.width;
this.height = copy.height;
}
public static void main(String[] args) {
Rectangle copy = new Rectangle();
int left = 0;
int top = 0;
int width = 0;
int height = 0;
}
}