What is the hasNext() method of the Iterator interface?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the hasNext() method of the Iterator interface?
Rating:
The hasNext() method of the Iterator interface determines whether the given iterator has more elements.
Rating:
Was this information helpful?
Other articles
- What are the data type conversions available in Java?
- What is the || (OR) operator?
- What is the NavigableMap interface?
- What is the pollLast() method of the NavigableSet interface?
- What is the File class?