public class Rectangle {
private int top;
private int left;
private int width = 0;
private int height = 0;
public void intialize(int top) {
this.top = top;
}
public void initialize(int top, int left) {
this.top = top;
this.left = left;
width=0;
height=0;
}
public void initialize(int top, int left, int width) {
this.top = top;
this.left = left;
this.width=width;
}
public void initialize(int top, int left, int width, int height){
this.top=top;
this.left=left;
this.width=width;
this.height=height;
}
![]()