0

Why this output infinite loop?

for (int I=0; I<5;){ I = I++; System.out.println(I); }

13th Jul 2018, 2:13 AM
Afresia
Afresia - avatar
2 Antworten
13th Jul 2018, 2:23 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
I see, thank you Hatsy Rei
13th Jul 2018, 3:19 AM
Afresia
Afresia - avatar