test whether has right child just as in section for the tree adtwe do not define specialized update methods for binary trees here insteadwe will consider some possible update methods when we describe specific implementations and applications of binary trees binary tree interface in java we model binary tree as an abstract data type that extends the tree adt and adds the three specialized methods for binary tree in code fragment we show the simple java interface we can define using this approach by the waysince binary trees are ordered treesthe iterable collection returned by method children( (inherited from the tree interfacestores the left child of before the right child of code fragment java interface binary tree for the binary tree adt interface binary tree extends interface tree (code fragment properties of binary trees binary trees have several interesting properties dealing with relationships between their heights and number of nodes we denote the set of all nodes of tree at the