🎴 Flashcard Mode
Test on Java Exception Handling
Card1 / 14
Mastered0
Review0
QuestionClick to flip
Which of the following methods of Iterator class throws NoSuchElementException, if the next element does not exist?
AnswerClick to flip back
A
next()
💡 Explanation:
This method of Iterator class throws NoSuchElementException, if there is not a next element.