On line 23 it says that this.top is an illegal start type. I'm not sure how to fix this and I appreciate any help.
package com.codegym.task.task05.task0513;
/*
Let's put together a rectangle
*/
public class Rectangle {
int top;
int left;
int height;
int width;
public void initialize(int top){
this.top = top;
}
public void initialize(int top, int left){
this.top = top;
this.left = left;
height = 0;
width = 0;
}
public void initialize(int top, int left , int height);
this.top = top;
this.left = left;
this.height = height;
width = height;
}
public void initialize(int top, int left, int height, int width);
this.top = top;
this.left = left;
this.height = height;
this.width = width;
}//write your code here
public static void main(String[] args) {
}
}