Possible Duplicate:
Infinite loop application - for(;;)
I am a Java developer, and I saw this in one of the classes:
for(;;){
something goes here
}
What does this loop mean? When would we have to use it?
Thanks
It's an infinite loop, an equivalent of this could be
while(true)
which is definitely used a lot more than an infinite for loop.
But they both mean the same thing in this situation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With