Hey can anyone help me with this problem?
package de.codegym.task.task05.task0520;
/*
Rechteck-Klasse erstellen
*/
public class Rechteck {
//schreib hier deinen Code
public int links;
public int hoehe;
public int oben;
public int breite;
public Rechteck(){
int hoehe = 3;
int oben = 4;
int breite = 2;
int links = 7;
}
public Rechteck(int oben, int links){
int breite = 0;
int hoehe = 0;
this.oben = oben;
this.links = links;
}
public Rechteck(){
int breite = 2;
int hoehe = breite;
int links = 2;
int oben = 2;
}
public Rechteck(int breite, int hoehe, int links, int oben){
this.breite = breite;
this.hoehe = hoehe;
this.links = links;
this.oben = oben;
}
public static void main(String[] args) {
}
}