не проходит по 1 пункту(!), помогите понять почему так происходит...
package com.javarush.task.task05.task0513;
/*
Собираем прямоугольник
*/
public class Rectangle {
//напишите тут ваш код
int top, left, width, height;
public void initialize(int top, int left, int width, int height) {
this.top = top;
this.left = left;
this.width = width;
this.height = height;
}
public void initialize(int top, int left) {
this.top = top;
this.left = left;
this.width = 0;
this.height = 0;
}
public void initialize(int top, int left, int width) {
this.top = top;
this.left = left;
this.width = width;
this.height = width;
}
public void initialize(Rectangle rectangle) {
this.top = rectangle.top;
this.left = rectangle.left;
this.width = rectangle.width;
this.height = rectangle.height;
}
}