Answers for "binary tree java root"

0

root tree java

public Position<E> root() throws RuntimeException {
       if (root == null){
           throw new RuntimeException("The tree is empty");
       }
       return root;
}
Posted by: Guest on November-18-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language