ubgrade 3.3
parent
6352d27cf1
commit
c1ecf1026d
|
@ -10,8 +10,8 @@ public class Test
|
||||||
|
|
||||||
public static void main(){
|
public static void main(){
|
||||||
Binärbaum Ausdrucken = new Binärbaum ();
|
Binärbaum Ausdrucken = new Binärbaum ();
|
||||||
//legt String mit Inhalt Abrakadabra an
|
//legt String mit Inhalt an
|
||||||
String Text = "ABRAKADABRA";
|
String Text = "RHABARBERBARBARABARBARBARENBARTBARBIERBIERBARBERT";
|
||||||
//ruft tählen Methode aus List auf
|
//ruft tählen Methode aus List auf
|
||||||
int [] Anzahl= List.zählen(Text);
|
int [] Anzahl= List.zählen(Text);
|
||||||
//legt Binärbaum an
|
//legt Binärbaum an
|
||||||
|
@ -21,7 +21,7 @@ public class Test
|
||||||
b.ausgeben(b.Final, "");
|
b.ausgeben(b.Final, "");
|
||||||
b.codieren(Text);
|
b.codieren(Text);
|
||||||
System.out.println();
|
System.out.println();
|
||||||
b.zurückcodieren("01101110101010001101110");
|
b.zurückcodieren("1101100001000111001011100011100011001000111000111000110100110110001101111100011100111001011100111001011100011100101101111");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue