Node x = new Node(5, null); Node y = x;
System.out.println(x);
System.out.println(y);
System.out.println("____________");
System.out.println(System.identityHashCode(x)); System.out.println(System.identityHashCode(y)); Integer a = 4; Integer b = a; System.out.println(System.identityHashCode(a)); System.out.println(System.identityHashCode(b));
BinaryTree$Node@6f75e721
BinaryTree$Node@6f75e721
_______________________
2104457164
2104457164
1521118594
1521118594