package com.codegym.task.task05.task0520;

/*
Create a Rectangle class

*/


public class Rectangle {
    //write your code here
    int top;
    int left;
    int height= 0 ;
    int width= 0 ;
    public Rectangle(int top,int left,int height,int width){
        this.top = top;
        this.left = left;
        this.height = height;
        this.width = width ;

    }
    public Rectangle(int top,int left,int height){
        this.top = top;
        this.left = left;
        this.height = height;
        this.width = height ;
    }
   public Rectangle(int top,int heigth){
        this.top = top;
        this.left = top;
        this.height = height;
        this.width = height;

   }
    public Rectangle(int top){
        this.top = top;
        this.left = top;


   }



    public static void main(String[] args) {

    }
}