TestTree - t System.out.println(tree);*/ S int num = 0;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
2 public class TestTree{ p public static void main(String args[]){ p AVLTree tree = new AVLTree(); A /* int matrix[] = {3,2,1}; i for (int i=0;i<matrix.length;i++) tree.add(matrix[i]);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: t System.out.println(tree);*/ S int num = 0; while(num!=100) { num = Console.readInt("Input number :"); tree.add(num); t System.out.println(tree); } } }...
View Full Document

This note was uploaded on 04/26/2010 for the course COMPUTER S Java2 taught by Professor Kwstasmixail during the Spring '10 term at Technical University of Crete.

Ask a homework question - tutors are online