Sail E0 Webinar
Question

Which of these return type of hasNext() method of an iterator?


Options:
A .  Integer
B .  Double
C .  Boolean
D .  Collections Object
Answer: Option C

hasNext() returns boolean values true or false.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers