0

For(;;) What does it mean?

for(;;)

25th May 2017, 1:34 PM
Dmitry Solovyov
Dmitry Solovyov - avatar
4 ответов
+ 7
for(;;) first index : no value has been defined second index : No condition. so return true Look at second index It has "return true" inside So Yes That loop will create infinite loop like as he said.This loop like as for(i=0;i==0;) //for(;true;) //Tip : for(i=9;i--;){System.out.print(i)} //System.out.print will be worked reversly
25th May 2017, 1:44 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 1
it will create an infinite loop.
25th May 2017, 1:39 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 1
Thank you
25th May 2017, 1:42 PM
Dmitry Solovyov
Dmitry Solovyov - avatar
+ 1
you're welcome.
25th May 2017, 1:42 PM
Ulisses Cruz
Ulisses Cruz - avatar