A binary tree node has data , pointer to left child and a pointer to right child
public class Node { public char data ; public Node left , right ; public Node ( char d ) { data = d ; left = right = null ; } } public class Tree { public static Node root ;