Which of these return type of hasNext() method of an iterator?
(a) Integer
(b) Double
(c) Boolean
(d) Collections Object
I had been asked this question in my homework.
Enquiry is from Iterators in portion java.util – The Collections Framework of Java