A binary tree node has data , pointer to left and right children
public class Node { public int data ; public Node left , right ; public Node ( int item ) { data = item ; left = right ; } } public class BinaryTree { public Node root1 , root2 ;