Последнее условие не хочет
package com.javarush.task.task05.task0513;
/*
Собираем прямоугольник
*/
public class Rectangle {
Rectangle rectangle = new Rectangle();
int top;
int left;
int width;
int 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 left, int top){
this.left = left;
this.top = top;
}
public void initialize(int width, int height, int left){
this.width = width;
this.height = height;
}
public void initialize(Rectangle.rectangle){
}
public static void main(String[] args) {
}
}