© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Rajkumar
Fullstack Developer.
At times, I use enhanced for-loop in Java, but there are times where I have to use i++, because it makes lot of sense. Ex. based on position, do something kinda stuff, will be better with i++ because I don't have to introduce another variable!
Tony Brown
American Space Ninja
again, there is no loop called i++ most likely you mean a for loop or a while loop
ha ha! When I say i++, it obviously mean for loop! Just wanted to say something different than for loop!