Can we read input twice in java coding? Or we can just considered it as a loop? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Can we read input twice in java coding? Or we can just considered it as a loop?

10th Dec 2019, 2:55 PM
Ezekiel Lawai
Ezekiel Lawai - avatar
2 Answers
+ 6
I am guessing you are asking this question because of sololearn's way of handling user input. To minimize bandwidth usage sololearn requests all needed input at the start of the program, although really the amount of input you can gather is infinite and is processed at real time in java. Please tell me if it wasn't what you wanted to know.
10th Dec 2019, 2:59 PM
coddy
coddy - avatar
+ 2
Thanks bro
10th Dec 2019, 3:14 PM
Ezekiel Lawai
Ezekiel Lawai - avatar