1.

Which of these return type of hasNext() method of an iterator?(a) Integer(b) Double(c) Boolean(d) Collections Object

Answer» Right choice is (c) Boolean

For explanation: hasNext() returns boolean values true or false.


Discussion

No Comment Found

Related InterviewSolutions