Which of the following is true?
A) The retrieve() method of an iterator can only be called after isEmpty() has returned false
B) The remove() method of an iterator can only be called after next() has been called
C) Any iterator can move forward as well as backwards through a collection
D) Once an iterator has reached the end of the collection, calling any of its methods will throw a NoSuchElement exception
B) The remove() method of an iterator can only be called after next() has been called
You might also like to view...
Sizing handles display as small black squares that surround a selected image
Indicate whether the statement is true or false
The role of ____ is to establish and maintain coordination and coherence in the overall information security scheme.
A. enterprise management B. tactical management C. strategic management D. risk management