public class Q9 { private void print(Node current) { if (current != null) { print(current.right); System.out.println(current.word); print(current.left); } } }