previous | start | next

Tree Class Method to Implement Printing in Sorted Order

class Tree
{
   public void print()
{
if (root != null)
root.printNodes();
} . . . }


previous | start | next