java - What is the for(;;){ } syntax? -


this question has answer here:

i've seen in java program following syntax :

for(;;){  } 

what means ? didn't see explanation on internet after researches.

is same thing while(true) loop?

edit :

sorry duplicate, when type " for(;;) " in researches doesn't find information wanted. reply.

this:

for (;;) { } 

it's shorthand infinite loop, equivalent this:

while (true) { } 

in fact, show in answer both equivalent @ bytecode level.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -