listing continued public long ddata/one data item //public dataitem(long dd/constructor ddata dd//public void displayitem(/display itemformat "/ system out print("/"+ddata)///end class dataitem ///////////////////////////////////////////////////////////////class node private static final int order private int numitemsprivate node parentprivate node childarray[new node[order]private dataitem itemarray[new dataitem[order- ]//connect child to this node public void connectchild(int childnumnode childchildarray[childnumchildif(child !nullchild parent this//disconnect child from this nodereturn it public node disconnectchild(int childnumnode tempnode childarray[childnum]childarray[childnumnullreturn tempnode/public node getchild(int childnumreturn childarray[childnum]/public node getparent(return parent/public boolean isleaf(