I look at another user's code and I found this piece of code:
for (;;) {
I am not a Java expert; what does this line of code do?
At first I thought it would be creating an infinite loop, but in the most MOST class this programmer uses
while(true)
Which (correct me if I am wrong) is an infinite loop. Are these two identical? Why did someone change their method to repeat the same process?
Any insight will help,
Thanks!
Doug molineux
source share