Files
GeordneterBinbaum/BinBaum.java

23 lines
328 B
Java
Raw Normal View History

2025-02-18 08:59:50 +01:00
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
}