master
ahmad 2022-12-22 09:32:33 +01:00
parent 464e416b84
commit 166d9b351b
1 changed files with 15 additions and 1 deletions

View File

@ -1,9 +1,23 @@
public class Main { public class Main {
public static void main(String[] args) public static void main(String[] args) throws Exception
{ {
Baum b1 = new Baum();
b1.add(42);
b1.add(21);
b1.add(84);
b1.add(25);
b1.add(27);
b1.add(11);
b1.remove(21);
b1.inorder();
System.out.println(b1.toString());
} }