Which of these return type of hasNext() method of an iterator?
A. Integer
B. Double
C. Boolean
D. Collections Object
Answer:A
Which of these return type of hasNext() method of an iterator?
A. Integer B. Double C. Boolean D. Collections Object
Explanation: hasNext() returns boolean values true or false.