1 year ago
#383164
finca
Why ListIterator<E> contains hasNext() method?
java.util.Iterator<E>
has a boolean hasNext();
method. java.util.ListIterator<E>
extends aforementioned interface. Yet documentation shows that it also explicitly contains boolean hasNext();
method.
Why? What did I miss about extension?
java
oop
collections
0 Answers
Your Answer