public class BTDemo { public static void main(String[] args) { BTNode root; root = beginningTree( ); root.inorderPrint(); root.print(3); } public static BTNode beginningTree( ) { BTNode root; BTNode child; root = new BTNode(14, null, null); child = new BTNode(17, null, null); root.setLeft(child); child.setLeft(new BTNode(9, null, null)); child.setRight(new BTNode(53, null, null)); child = child.getLeft(); child.setLeft(new BTNode(13, null, null)); child = new BTNode(11, null, null); root.setRight(child); child.setLeft(new BTNode(4, null, null)); child = child.getLeft(); child.setLeft(new BTNode(19, null, null)); child.setRight(new BTNode(7, null, null)); return root; } }