I can't figure it out plz help me with that
package com.codegym.task.task05.task0513;
/*
Let's put together a rectangle
*/
public class Rectangle {
//write your code here
int top;
int left;
int width;
int height;
public void initialize(int top)
{
this.top = top;
}
public void initialize(int top, int height)
{
this.top = top;
this.height = height;
}
public void initialize(int top, int height, int width)
{
this.top = top;
this.height = height;
this.width = width;
}
public void intialize(int top, int height, int width, int left)
{
this.top = top;
this.height = height;
this.width = width;
this.left = left;
}
public static void main(String[] args) {
}
}