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