Section 25.10 Check Point Questions5 questions 

25.10.1
What is an iterator?
25.10.2
What method is defined in the java.lang.Iterable<E> interface?
25.10.3
Suppose you delete implements Collection<E> from line 3 in LiveExample 25.3, Tree.java. Will LiveExample 25.10 still compile?
25.10.4
What is the benefit of being a subtype of Iterable<E>?
25.10.5
Write one statement that displays the maximum and minimum element in a BST object named tree. (Hint: use the min and max methods in the java.util.Collections class he BST class that returns the largest element in the tree.)