Constructor that allocates a new node with the given data and NULL left and right pointers .
public Node ( int data ) { this . data = data ; left = right = null ; } } public class BinaryTree { public Node root ;