import java.util.*; public class TestProg { public static void main(String[] args) { Scanner in = new Scanner(System.in); String k; Integer v; Tree24 T = new Tree24(); while ( true ) { System.out.println("vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv"); System.out.print("Enter a key: "); k = in.next(); System.out.print("Enter a value: "); v = in.nextInt(); System.out.println("put(" + k + "," + v + "):"); T.put(k, v); System.out.println(); System.out.println("== After put(" + k + "," + v + "):"); T.printTree(); System.out.println(); } } }