When the next() method of Iterator is called at the end of a collection, it
A) throws NoSuchElementException
B) returns null
C) wraps around to the beginning of the collection and returns the first element
D) returns the a copy of the last element returned
A) throws NoSuchElementException
Computer Science & Information Technology