Calling next() on an iterator when no more elements left should result in a NoSuchElementException not a NullPointerException.
Given very little information has been given, we are left to...
Type: Posts; User: copeg
Calling next() on an iterator when no more elements left should result in a NoSuchElementException not a NullPointerException.
Given very little information has been given, we are left to...