Hey, the error says that i can't create 2 initialize() with the same data type parameters... why is that?
com/codegym/task/task05/task0513/Rectangle.java:30: error: method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle
public void initialize(int top, int left, int height) {
^
com/codegym/task/task05/task0513/Rectangle.java:38: error: method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle
public void initialize(int top, int left, int width) {
^
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 weight;
public static void main(String[] args) {
}
}