+ 1

Which is the Best iteration approch ?

A. Using consumer, B. Using for each loop, C. using lambda function in forEachRemaining(), D using while loop

19th Nov 2020, 6:07 PM
Deepak Soni
Deepak Soni - avatar
2 Answers
+ 4
It depends on data and purpose. Please include the programming language (java i guess) in relevant tags to increase the chances of getting an answer.
19th Nov 2020, 9:37 PM
Kevin ★
+ 1
Yes sure ! Thanks for suggestion..
20th Nov 2020, 3:28 AM
Deepak Soni
Deepak Soni - avatar