Iterator question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Iterator question

2/2 Drag and drop from the options below to iterate and print all of the items in the list of Integers. ......<..... > it = list. (.....); while (it. (.....)) { System.out.println(it. (....)); } hasNext Integer Iterator iterator next Ace: Removed mfd, Edited title

2nd Jun 2018, 12:08 PM
Haki MotoVlog
Haki MotoVlog - avatar
11 Answers
+ 6
Ace Of course, yes! Thanks for the edit and the answer :)
2nd Jun 2018, 5:00 PM
Dev
Dev - avatar
+ 5
1.Iterator 2.integer 3.iterator 4.hasnext 5.next
8th Sep 2019, 3:07 PM
Deeksha Suriya Narayanan
Deeksha Suriya Narayanan - avatar
+ 3
Ace I knew it was a question from the course, and he wanted the solution. I was even going to post the solution though his profile showed (still shows) that he has completed the course already. He found out the answer himself, perhaps. Added mfd just because I thought this question was unnecessary now... 😄
2nd Jun 2018, 4:54 PM
Dev
Dev - avatar
+ 1
Iterator Integer iterator hasNext next
16th Sep 2019, 7:03 AM
PRATIK NAVALE
+ 1
1.Iterator 2.integer 3.iterator 4.hasnext 5.next
18th Jan 2021, 3:39 PM
Kodees Mejri
Kodees Mejri - avatar
0
What will happen to programmers when AI will learn programming skills?
2nd Jun 2018, 9:42 PM
42126ay
42126ay - avatar
0
1.Iterator 2.integer 3.iterator 4.hasnext 5.next
10th Jun 2020, 10:26 PM
Salem Mohamed
Salem Mohamed - avatar
0
Try this and thank me later 1. Iterator 2. integer 3. iterator 4. hasnext 5. next
18th Oct 2021, 3:27 AM
chanchal mittal
chanchal mittal - avatar
0
1.Iterator 2.integer 3.iterator 4.hasnext 5.next
23rd Nov 2021, 9:14 AM
Nabila Muftia Ma'ruf Kartono
Nabila Muftia Ma'ruf Kartono - avatar
0
1.Iterator 2.integer 3.iterator 4.hasnext 5.next
1st Jan 2022, 12:28 PM
M.I.M.Aqueel
M.I.M.Aqueel - avatar
- 1
1.iterator 2.integer 3.hasNext 4.next
21st Mar 2019, 8:30 PM
Anurag Kumar
Anurag Kumar - avatar