Files
GeordneterBinbaum/BinBaum.java

29 lines
456 B
Java
Raw Permalink Normal View History

2025-02-18 08:59:50 +01:00
/**
* Beschreiben Sie hier die Klasse BinBaum.
*
* @author (Ihr Name)
* @version (eine Versionsnummer oder ein Datum)
*/
public class BinBaum
{
// Attribute
Baumelement wurzel;
/**
* Konstruktor für Objekte der Klasse BinBaum
*/
public BinBaum()
{
this.wurzel = new Abschluss();
}
public void einfügen(Datenelement datenNeu) {
this.wurzel = this.wurzel.einfügen(datenNeu);
}
2025-02-18 08:59:50 +01:00
}