// Simple program to demonstrate usage of the IntTree class // and the three types of binary tree traversals public class IntTreeClient { public static void main(String[] args) { IntTree tree = new IntTree(9); tree.printSideways(); System.out.println(); tree.printPreorder(); tree.printInorder(); tree.printPostorder(); } }